Remove hit-test dead space between buttons

This commit is contained in:
Matt Ickstadt 2018-07-30 19:03:29 -05:00
parent 028c8b0f75
commit 99019b74aa
1 changed files with 10 additions and 4 deletions

View File

@ -41,7 +41,7 @@ a > .hljs {
} }
#menu-bar i, #menu-bar .icon-button { #menu-bar i, #menu-bar .icon-button {
position: relative; position: relative;
margin: 0 8px; padding: 0 8px;
z-index: 10; z-index: 10;
line-height: 50px; line-height: 50px;
cursor: pointer; cursor: pointer;
@ -49,7 +49,7 @@ a > .hljs {
} }
@media only screen and (max-width: 420px) { @media only screen and (max-width: 420px) {
#menu-bar i, #menu-bar .icon-button { #menu-bar i, #menu-bar .icon-button {
margin: 0 5px; padding: 0 5px;
} }
} }
@ -71,8 +71,13 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
transform: translateY(-60px); transform: translateY(-60px);
} }
.left-buttons { margin: 0 5px; } .left-buttons {
.no-js .left-buttons { display: none; } display: flex;
margin: 0 5px;
}
.no-js .left-buttons {
display: none;
}
.menu-title { .menu-title {
display: inline-block; display: inline-block;
@ -374,6 +379,7 @@ a:hover {
.theme-popup { .theme-popup {
position: absolute; position: absolute;
left: 10px; left: 10px;
top: 50px;
z-index: 1000; z-index: 1000;
border-radius: 4px; border-radius: 4px;
font-size: 0.7em; font-size: 0.7em;