Merge pull request #11721 from grafana/11677-missaligned-menu-carot

fix misalignment of unit and other drop downs in firefox
This commit is contained in:
Marcus Efraimsson 2018-04-25 17:24:54 +02:00 committed by GitHub
commit fff5d7154e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,17 +256,15 @@
// Caret to indicate there is a submenu
.dropdown-submenu > a::after {
display: block;
content: ' ';
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: $text-color-weak;
margin-top: 5px;
margin-right: -4px;
position: absolute;
top: 35%;
right: $input-padding-x;
background-color: transparent;
color: $text-color-weak;
font: normal normal normal $font-size-sm/1 FontAwesome;
content: '\f0da';
pointer-events: none;
font-size: 11px;
}
.dropdown-submenu:hover > a::after {
border-left-color: $dropdownLinkColorHover;