diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/MenuItem.mjs | 4 | ||||
-rw-r--r-- | src/css/dumbymap.css | 6 |
2 files changed, 5 insertions, 5 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 | ], |
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index 50728fc..fd720fd 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
@@ -48,7 +48,8 @@ root { | |||
48 | } | 48 | } |
49 | } | 49 | } |
50 | 50 | ||
51 | p a[href^='http']::after { | 51 | p a[href^='http']::after, |
52 | .external::after { | ||
52 | content: ''; | 53 | content: ''; |
53 | display: inline-block; | 54 | display: inline-block; |
54 | width: 11px; | 55 | width: 11px; |
@@ -276,10 +277,9 @@ p a[href^='http']::after { | |||
276 | } | 277 | } |
277 | 278 | ||
278 | .info { | 279 | .info { |
279 | display: inline-block; | ||
280 | float: right; | 280 | float: right; |
281 | 281 | ||
282 | padding-inline: 1em; | 282 | padding-inline: .5em; |
283 | 283 | ||
284 | color: steelblue; | 284 | color: steelblue; |
285 | font-weight: bold; | 285 | font-weight: bold; |