feat(i18n): display lcode in language switcher (#565)
Some checks are pending
Build Site / Check and Build for Pull Requests (push) Waiting to run
Build Site / Build and Deploy on Main Push (push) Waiting to run

Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
redmie 2025-09-14 12:35:42 +02:00 committed by GitHub
parent 57277a0f23
commit 83b0a5d011
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 48 additions and 3 deletions

View file

@ -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 {