Style: better styling of translate buttons, hide translate buttons where not applicable

This commit is contained in:
Pieter Vander Vennet 2023-05-30 23:45:30 +02:00
parent f0f0292d0c
commit 08a604c3f5
10 changed files with 22 additions and 16 deletions

View file

@ -324,7 +324,7 @@ label.checked {
border: 2px solid var(--foreground-color);
}
.links-w-full a {
.links-w-full a:not(.weblate-link) {
display: flex;
column-gap: 0.25rem;
padding-left: 0.5rem;
@ -462,15 +462,18 @@ select:hover {
}
.weblate-link {
width: fit-content;
display: inline-block;
flex-shrink: 0;
margin: 0;
padding: 0.25rem;
width: 1.2rem;
height: 1.2rem;
border: unset;
border-radius: 5rem;
backdrop-filter: var(--low-interaction-background);
}
.no-weblate .weblate-link {
display: none !important;
}