mirror of https://github.com/jpanther/congo.git
Fix vertical offset when using locale switcher
parent
c8f648d5c2
commit
7d1b63b11d
|
@ -20,7 +20,7 @@
|
||||||
>
|
>
|
||||||
</button>
|
</button>
|
||||||
{{ if eq $dir "down" }}
|
{{ if eq $dir "down" }}
|
||||||
<div class="invisible h-2 w-full bg-transparent group-hover:visible"></div>
|
<div class="invisible w-full bg-transparent group-hover:visible"></div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div
|
<div
|
||||||
class="{{ cond (eq $dir "down") "top-8" "bottom-7" }} invisible absolute z-50 flex flex-col whitespace-nowrap rounded border border-neutral-300 bg-neutral text-start text-base shadow group-hover:visible ltr:right-0 rtl:left-0 dark:border-neutral-600 dark:bg-neutral-800"
|
class="{{ cond (eq $dir "down") "top-8" "bottom-7" }} invisible absolute z-50 flex flex-col whitespace-nowrap rounded border border-neutral-300 bg-neutral text-start text-base shadow group-hover:visible ltr:right-0 rtl:left-0 dark:border-neutral-600 dark:bg-neutral-800"
|
||||||
|
|
Loading…
Reference in New Issue