Commit 14998be3 authored by Robert Knight's avatar Robert Knight Committed by Nick Stenning

Make the nav bar dropdown arrow consistent across browsers

The dropdown arrow used to be rendered with a unicode
character that was not in the requested font (Source Sans Pro),
so its apperance would vary depending on whichever font the browser
fell back to.

I considered using an inverted '^' char with a transform applied
but opted for an SVG instead which is easier to work with.
parent ddae4002
......@@ -89,21 +89,11 @@
color: $color-mine-shaft;
}
.nav-bar-menu__indicator::after {
color: $color-silver-chalice;
content: "\2304"; // 'Down Arrowhead'
// align the cheveron for the drop-down menu
// indicator with the middle of the adjacent
// menu item text
position: relative;
top: -3px;
display: inline-block;
font-size: 17px;
line-height: 0px;
margin-left: -3px;
margin-right: -3px;
.nav-bar-menu__indicator {
stroke: $color-gray;
margin-left: 3px;
width: 8px;
height: 8px;
}
.nav-bar-menu {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment