Skip to content

Commit 06f4c53

Browse files
committed
Fix layout break in Stats page due to too-long table width #1651
1 parent 7b4ad9e commit 06f4c53

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/views/stats/show.html.haml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
%a{href: '#table-target'} 🔍
9191
集計対象と集計割合の推移
9292

93-
%div.table-container
93+
%div.table-container{align: 'center'}
9494
%table.compact{style: 'margin-top: 10px;', border: '1'}
9595
%tr
9696
%th
@@ -127,7 +127,7 @@
127127
%a{href: '#table-actual'} ☯️
128128
開催回数と参加者数の推移
129129

130-
%div.table-container
130+
%div.table-container{align: 'center'}
131131
%table.compact{style: 'margin-top: 10px;', border: '1'}
132132
%tr
133133
%th
@@ -166,7 +166,8 @@
166166
%b
167167
%a{href: '#table-estimate'} 💭
168168
開催回数と参加者数の見込み
169-
%div.table-container
169+
170+
%div.table-container{align: 'center'}
170171
%table.compact{style: 'margin-top: 10px;', border: '1'}
171172
%tr
172173
%th

0 commit comments

Comments
 (0)