Better styling for language-icon.

This commit is contained in:
Fredrik Jonsson 2019-02-25 08:55:38 +01:00
commit 351fe15a24

View file

@ -285,19 +285,16 @@ figcaption {
// Language selector // Language selector
.language-selector { .language-selector {
position: relative; .navbar {
padding-left: 32px;
&::before { &::before {
content: ''; content: '';
position: absolute;
top: 0;
left: 0;
background-image: url('../images/language-icon.png'); background-image: url('../images/language-icon.png');
background-size: 24px; background-size: 24px;
background-repeat: no-repeat; background-repeat: no-repeat;
height: 24px; height: 24px;
width: 24px; width: 24px;
margin-right: 8px;
}
} }
} }