Skip to content

Commit 50909f7

Browse files
Redo the width and margin of #browser (#504)
1 parent a1218c6 commit 50909f7

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

frontend/src/style.scss

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $coverage_low: #d91a47;
99
$coverage_warn: #ff9a36;
1010
$coverage_good: #438718;
1111
$highlighted: #f7f448;
12-
$small_screen: 1900px;
12+
$small_screen: 1280px;
1313

1414
body {
1515
// Setup base typography
@@ -142,12 +142,9 @@ nav {
142142

143143
// Directory navigation
144144
#browser {
145-
margin: 1em 20%;
146-
147-
// On smaller screens, display table on full width
148-
@media only screen and (max-width: $small_screen) {
149-
margin: 0.5em;
150-
}
145+
max-width: $small_screen;
146+
margin: 0 auto;
147+
padding: .5em;
151148

152149
.table {
153150
display: table;

0 commit comments

Comments
 (0)