fix: add colored background to language switcher for better visibility

This commit is contained in:
Sebin Nyshkim 2023-03-28 19:58:25 +02:00
parent 79f1191e36
commit 3c83d66bf5

View file

@ -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);
}