mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
✨ feat(i18n): display lcode in language switcher (#565)
Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
parent
57277a0f23
commit
83b0a5d011
7 changed files with 48 additions and 3 deletions
|
@ -125,6 +125,28 @@ header {
|
|||
background: var(--meta-color);
|
||||
}
|
||||
}
|
||||
|
||||
.language-switcher-icon-with-code {
|
||||
margin-inline-end: 0.3rem;
|
||||
width: 0.7rem;
|
||||
height: 0.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
.language-switcher-icon-code {
|
||||
position: absolute;
|
||||
top: -0.15rem;
|
||||
z-index: 10;
|
||||
inset-inline-start: 0.7rem;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: var(--text-color);
|
||||
font-size: 0.5rem;
|
||||
text-transform: uppercase;
|
||||
|
||||
&:hover {
|
||||
color: var(--meta-color);
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue