diff --git a/src/app.css b/src/app.css index 64526c71..696db67e 100644 --- a/src/app.css +++ b/src/app.css @@ -59,7 +59,7 @@ @apply flex flex-wrap gap-4; } - .layout-switcher>* { + .layout-switcher > * { flex-grow: 1; flex-basis: calc((var(--switcher-threshold) - 100%) * 999); } @@ -73,14 +73,6 @@ @apply flex flex-wrap gap-4; } - .px-page { - @apply px-4; - } - - .mx-page { - @apply px-4; - } - /* table styles */ .table-styles { @apply w-full table-auto overflow-x-auto; @@ -91,7 +83,7 @@ tr, .table-row-styles { - @apply border-b border-neutral-300/10 bg-gradient-to-r from-transparent to-transparent last:border-none odd:via-mineShaft-950 hover:via-skyBlue-500/10 data-[clickable=true]:cursor-pointer data-[active=true]:via-skyBlue-500/10 data-[hover-effect=false]:hover:via-transparent data-[hover-effect=false]:odd:hover:via-mineShaft-950; + @apply table-row-border table-row-background; } th, @@ -105,3 +97,21 @@ } } } + +@layer utilities { + .px-page { + @apply px-4; + } + + .mx-page { + @apply px-4; + } + + .table-row-border { + @apply border-b border-neutral-300/10 last:border-none; + } + + .table-row-background { + @apply bg-gradient-to-r from-transparent to-transparent odd:via-mineShaft-950 hover:via-skyBlue-500/10 data-[clickable=true]:cursor-pointer data-[active=true]:via-skyBlue-500/10 data-[hover-effect=false]:hover:via-transparent data-[hover-effect=false]:odd:hover:via-mineShaft-950; + } +} diff --git a/src/lib/components/input/search.svelte b/src/lib/components/input/search.svelte index 94fc9341..a93b1510 100644 --- a/src/lib/components/input/search.svelte +++ b/src/lib/components/input/search.svelte @@ -206,7 +206,7 @@ }} > -
+ - +
{#if history.length}