re-add whitespace to lang switch label
This commit is contained in:
parent
06b6982c1b
commit
a540c7b60a
@ -31,7 +31,7 @@
|
||||
<div class="lang-switch" >
|
||||
<input class="lang-btn" type="checkbox" id="lang-btn" />
|
||||
<label class="lang-switch" for="lang-btn">
|
||||
<a>{{- .Language.LanguageName -}} ⏷</a>
|
||||
<a>{{ .Language.LanguageName }} ⏷</a>
|
||||
</label>
|
||||
<div class="translation-list" >
|
||||
{{- with .Translations -}}
|
||||
|
@ -365,7 +365,6 @@ blockquote.location p { padding: inherit; }
|
||||
/* lang-switch content (hidden by default) */
|
||||
.translation-list {
|
||||
display: block;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
background-color: var(--langs-bg);
|
||||
width: 120px;
|
||||
@ -373,8 +372,10 @@ blockquote.location p { padding: inherit; }
|
||||
right: 0;
|
||||
overflow: hidden;
|
||||
|
||||
transition: 400ms;
|
||||
transition-property: all;
|
||||
height: 0;
|
||||
max-height: 0;
|
||||
transition-property: all;
|
||||
transition: 400ms;
|
||||
}
|
||||
|
||||
/* Links inside the lang-switch */
|
||||
@ -403,11 +404,8 @@ blockquote.location p { padding: inherit; }
|
||||
}
|
||||
|
||||
.translation-list {
|
||||
height: 0;
|
||||
max-height: 0;
|
||||
position: static;
|
||||
width: auto;
|
||||
transition: 400ms;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user