diff options
| -rw-r--r-- | src/components/ScheduleTable.astro | 2 | ||||
| -rw-r--r-- | src/styles/custom.css | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/components/ScheduleTable.astro b/src/components/ScheduleTable.astro index b636171..2ce073b 100644 --- a/src/components/ScheduleTable.astro +++ b/src/components/ScheduleTable.astro @@ -61,7 +61,7 @@ const dateHtml = (html: string) => const KINDS: { kind: string; label: string }[] = [ { kind: 'x', label: 'Xでシェア' }, - { kind: 'copy', label: '文面をコピー' }, + { kind: 'copy', label: '共有用の文面をコピー' }, ]; function attachButtons() { diff --git a/src/styles/custom.css b/src/styles/custom.css index 9df3b25..c714428 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -311,6 +311,7 @@ body:has(.parks-controls) .sl-markdown-content p { justify-content: center; width: 1.35rem; height: 1.35rem; + margin: 0; padding: 0; border: 1px solid var(--sl-color-gray-5); border-radius: 4px; @@ -322,6 +323,7 @@ body:has(.parks-controls) .sl-markdown-content p { } .schedule-share-btn::before { content: ""; + display: block; width: 14px; height: 14px; background: currentColor; @@ -337,7 +339,7 @@ body:has(.parks-controls) .sl-markdown-content p { --share-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M18.244%202.25h3.308l-7.227%208.26%208.502%2011.24H16.17l-5.214-6.817L4.99%2021.75H1.68l7.73-8.835L1.254%202.25H8.08l4.713%206.231%205.451-6.231Zm-1.161%2017.52h1.833L7.084%204.126H5.117l11.966%2015.644Z%27%2F%3E%3C%2Fsvg%3E"); } .schedule-share-btn.is-copy { - --share-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Crect%20x%3D%279%27%20y%3D%279%27%20width%3D%2712%27%20height%3D%2712%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27M6%2015H5a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1h10a1%201%200%200%201%201%201v1%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%2F%3E%3C%2Fsvg%3E"); + --share-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M12%203.5v11%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27m8%207.5%204-4%204%204%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M7.5%2010H5.8A1.8%201.8%200%200%200%204%2011.8v7.4A1.8%201.8%200%200%200%205.8%2021h12.4a1.8%201.8%200%200%200%201.8-1.8v-7.4a1.8%201.8%200%200%200-1.8-1.8H16.5%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20fill%3D%27none%27%2F%3E%3C%2Fsvg%3E"); } .schedule-share-btn.is-done { color: var(--sl-color-accent); |
