diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-02 00:15:48 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-02 00:15:48 +0900 |
| commit | 3386e7158cb0904a77a0979e515e6948cb433af7 (patch) | |
| tree | 394893d0c258b7f102f7dffc1d623fab3400f070 /services/nuldoc/lib | |
| parent | 9fe8b58ccd0642594e67e80f225b777cc544a136 (diff) | |
| download | nsfisis.dev-3386e7158cb0904a77a0979e515e6948cb433af7.tar.gz nsfisis.dev-3386e7158cb0904a77a0979e515e6948cb433af7.tar.zst nsfisis.dev-3386e7158cb0904a77a0979e515e6948cb433af7.zip | |
feat(slides): align slide controller center
Diffstat (limited to 'services/nuldoc/lib')
| -rw-r--r-- | services/nuldoc/lib/nuldoc/pages/slide_page.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/services/nuldoc/lib/nuldoc/pages/slide_page.rb b/services/nuldoc/lib/nuldoc/pages/slide_page.rb index 5d7371c6..f58be386 100644 --- a/services/nuldoc/lib/nuldoc/pages/slide_page.rb +++ b/services/nuldoc/lib/nuldoc/pages/slide_page.rb @@ -52,13 +52,15 @@ module Nuldoc end div class: 'controllers' do div class: 'controllers-buttons' do - button id: 'prev', type: 'button' do + button id: 'prev', type: 'button', + 'aria-label': '前のページ (←/h)', title: '前のページ (←/h)' do elem 'svg', width: '20', height: '20', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', 'stroke-width': '2' do elem 'path', d: 'M15 18l-6-6 6-6' end end - button id: 'next', type: 'button' do + button id: 'next', type: 'button', + 'aria-label': '次のページ (→/l)', title: '次のページ (→/l)' do elem 'svg', width: '20', height: '20', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', 'stroke-width': '2' do elem 'path', d: 'M9 18l6-6-6-6' |
