diff options
Diffstat (limited to 'src/MenuItem.mjs')
-rw-r--r-- | src/MenuItem.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MenuItem.mjs b/src/MenuItem.mjs index aabafb2..5d7fdc0 100644 --- a/src/MenuItem.mjs +++ b/src/MenuItem.mjs | |||
@@ -61,7 +61,7 @@ export const pickBlockItem = ({ blocks, utils }) => | |||
61 | (block, index) => | 61 | (block, index) => |
62 | new Item({ | 62 | new Item({ |
63 | text: | 63 | text: |
64 | `<strong>(${index})</strong>` + | 64 | `<strong style="display: inline-block; width: 2.5em;">(${index})</strong>` + |
65 | block | 65 | block |
66 | .querySelector('p') | 66 | .querySelector('p') |
67 | ?.textContent.substring(0, 15) | 67 | ?.textContent.substring(0, 15) |
@@ -91,7 +91,7 @@ export const pickLayoutItem = ({ container, layouts }) => | |||
91 | }), | 91 | }), |
92 | ), | 92 | ), |
93 | new Item({ | 93 | new Item({ |
94 | innerHTML: '<a href="https://github.com/outdoorsafetylab/dumbymap#layouts" style="display: block; padding: 0.5rem;">More...</a>', | 94 | innerHTML: '<a href="https://github.com/outdoorsafetylab/dumbymap#layouts" class="external" style="display: block; padding: 0.5rem;">More...</a>', |
95 | style: 'padding: 0;' | 95 | style: 'padding: 0;' |
96 | }), | 96 | }), |
97 | ], | 97 | ], |