The glyphicon is misaligned and is not behaving properly in Firefox whereas it looks perfect in Chrome and Safari. To solve this, I am trying to write a rule which would just apply if it is a Mozilla's browser.
Is there any way to detect a browser in SCSS by using directives like @if. Something like following:
@if $browser === mozilla {
//apply this CSS
.pull-right.glyphicon.glyphicon-chevron-right {
top: -13px;
line-height: 0.5 !important;
}
Do we have any simple way to detect? I tried using the @moz-document url-prefix()
which isn't working in SCSS.
A similar question was asked here but there is no correct solution to the problem.
Any help or guidance is greatly appreciated. Thank you.