minor UI, table and select improvements

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2026-02-03 22:13:54 +01:00
parent 33845aeec2
commit fd0ccea01d
6 changed files with 8 additions and 8 deletions
@@ -12,7 +12,7 @@
</script>
<td
class={`pl-4 font-regular text-slate-600 dark:text-gray-200 text-ellipsis whitespace-nowrap overflow-hidden pr-4 transition-colors duration-200`}
class={`pl-4 font-regular text-slate-600 dark:text-gray-200 text-ellipsis whitespace-nowrap overflow-hidden pr-4 transition-colors duration-200 max-w-0 [&>*]:text-ellipsis [&>*]:overflow-hidden [&>*]:whitespace-nowrap [&>*]:block`}
title={isDate ? '' : value}
class:text-left={alignText === 'left'}
class:text-center={alignText === 'center'}
@@ -4,10 +4,10 @@
</script>
<td
class="pl-4 font-regular text-slate-600 dark:text-gray-200 text-ellipsis whitespace-nowrap overflow-hidden pr-4 transition-colors duration-200"
class="pl-4 font-regular text-slate-600 dark:text-gray-200 text-ellipsis whitespace-nowrap overflow-hidden pr-4 transition-colors duration-200 max-w-0"
{title}
>
<a {href} class="block w-full py-1">
<a {href} class="block w-full py-1 text-ellipsis whitespace-nowrap overflow-hidden">
<slot />
</a>
</td>