fix: add colored background to language switcher for better visibility
This commit is contained in:
parent
79f1191e36
commit
3c83d66bf5
1 changed files with 10 additions and 5 deletions
|
@ -7,14 +7,19 @@
|
|||
<style lang="scss">
|
||||
.lang-button {
|
||||
position: fixed;
|
||||
inset: 1rem 1rem auto auto;
|
||||
display: block;
|
||||
max-height: 2.5rem;
|
||||
min-width: 3.5rem;
|
||||
inset: 0.25rem 0.5rem auto auto;
|
||||
min-width: 3rem;
|
||||
z-index: 9001;
|
||||
color: var(--color-text);
|
||||
cursor: pointer;
|
||||
|
||||
&:before {
|
||||
position: absolute;
|
||||
inset: 0.325rem 0 0.7rem 0;
|
||||
content: "";
|
||||
background-color: var(--color-background);
|
||||
border-radius: 0.3rem;
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: var(--color-text);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue