Reduce the margins on header icons on narrow devices

This commit is contained in:
Matt Ickstadt 2018-07-24 12:31:57 -05:00
parent 7c8dd5085b
commit 11ad85f39f
3 changed files with 10 additions and 0 deletions

View File

@ -224,6 +224,12 @@ table thead td {
-ms-transition: color 0.5s; -ms-transition: color 0.5s;
transition: color 0.5s; transition: color 0.5s;
} }
@media only screen and (max-width: 420px) {
#menu-bar i,
#menu-bar .icon-button {
margin: 0 5px;
}
}
#menu-bar #print-button { #menu-bar #print-button {
margin: 0 15px; margin: 0 15px;
} }

View File

@ -15,6 +15,9 @@
i, .icon-button { i, .icon-button {
position: relative position: relative
margin: 0 10px margin: 0 10px
@media only screen and (max-width: $narrow-device-max-width) {
margin: 0 5px
}
z-index: 10 z-index: 10
line-height: 50px line-height: 50px
cursor: pointer cursor: pointer

View File

@ -4,3 +4,4 @@ $content-max-width = 750px
$content-min-width = 320px $content-min-width = 320px
$page-plus-sidebar-width = $content-max-width + $sidebar-width + $page-padding * 2 $page-plus-sidebar-width = $content-max-width + $sidebar-width + $page-padding * 2
$sidebar-reflow-width = $sidebar-width + $content-min-width $sidebar-reflow-width = $sidebar-width + $content-min-width
$narrow-device-max-width = 420px