Skip to content

Commit df3d2fa

Browse files
committed
update summary table to shrink on small item count
1 parent fea7d1e commit df3d2fa

4 files changed

Lines changed: 12 additions & 8 deletions

File tree

gravitons/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,13 @@
167167

168168
#summary-table {
169169
width: 100%;
170-
height: 45vh;
171-
overflow-y: scroll;
170+
max-height: 45vh;
171+
overflow-y: auto;
172172
scrollbar-gutter: stable;
173173
padding-right: 1rem;
174174
margin-top: 1.5rem;
175175
margin-bottom: 1rem;
176+
display: block;
176177
}
177178

178179
th {

hardware/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,13 @@
183183

184184
#summary-table {
185185
width: 100%;
186-
height: 45vh;
187-
overflow-y: scroll;
186+
max-height: 45vh;
187+
overflow-y: auto;
188188
scrollbar-gutter: stable;
189189
padding-right: 1rem;
190190
margin-top: 1.5rem;
191191
margin-bottom: 1rem;
192+
display: block;
192193
}
193194

194195
th {

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,13 @@
183183

184184
#summary-table {
185185
width: 100%;
186-
height: 45vh;
187-
overflow-y: scroll;
186+
max-height: 45vh;
187+
overflow-y: auto;
188188
scrollbar-gutter: stable;
189189
padding-right: 1rem;
190190
margin-top: 1.5rem;
191191
margin-bottom: 1rem;
192+
display: block;
192193
}
193194

194195
th {

versions/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,13 @@
167167

168168
#summary-table {
169169
width: 100%;
170-
height: 45vh;
171-
overflow-y: scroll;
170+
max-height: 45vh;
171+
overflow-y: auto;
172172
scrollbar-gutter: stable;
173173
padding-right: 1rem;
174174
margin-top: 1.5rem;
175175
margin-bottom: 1rem;
176+
display: block;
176177
}
177178

178179
th {

0 commit comments

Comments
 (0)