Fix: fix styling of translate button in titles
This commit is contained in:
parent
1a7289f516
commit
0a8164c378
4 changed files with 29 additions and 9 deletions
|
@ -21,7 +21,7 @@
|
|||
</a>
|
||||
{:else if $linkToWeblate}
|
||||
<a href={LinkToWeblate.hrefToWeblate($language, context)} class="weblate-link hidden-on-mobile mx-1" target="_blank">
|
||||
<img src="./assets/svg/translate.svg" class="w-3 h-3 rounded-full font-gray" />
|
||||
<img src="./assets/svg/translate.svg" class="w-3 h-3 rounded-full font-gray inline-block" />
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
|
|
|
@ -56,10 +56,6 @@
|
|||
{/if}
|
||||
|
||||
<style>
|
||||
.title-icons {
|
||||
|
||||
}
|
||||
|
||||
:global(.title-icons a) {
|
||||
display: block !important;
|
||||
}
|
||||
|
|
15
index.css
15
index.css
|
@ -461,9 +461,20 @@ select:hover {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.no-weblate weblate {
|
||||
display: none;
|
||||
.weblate-link {
|
||||
width: fit-content;
|
||||
flex-shrink: 0;
|
||||
margin: 0;
|
||||
padding: 0.25rem;
|
||||
border: unset;
|
||||
border-radius: 5rem;
|
||||
backdrop-filter: var(--low-interaction-background);
|
||||
}
|
||||
|
||||
.no-weblate .weblate-link {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.link-underline a {
|
||||
text-decoration: underline 1px var(--foreground-color);
|
||||
}
|
||||
|
|
|
@ -2281,8 +2281,21 @@ select:hover {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.no-weblate weblate {
|
||||
display: none;
|
||||
.weblate-link {
|
||||
width: -webkit-fit-content;
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
flex-shrink: 0;
|
||||
margin: 0;
|
||||
padding: 0.25rem;
|
||||
border: unset;
|
||||
border-radius: 5rem;
|
||||
-webkit-backdrop-filter: var(--low-interaction-background);
|
||||
backdrop-filter: var(--low-interaction-background);
|
||||
}
|
||||
|
||||
.no-weblate .weblate-link {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.link-underline a {
|
||||
|
|
Loading…
Reference in a new issue