fix: Replaced inline style
Some checks failed
Publish Svelte Tailwind Library / build-and-publish (push) Failing after 24s

This commit is contained in:
2025-09-16 13:35:28 +01:00
parent ad06a1d398
commit c0ad7d69d3

View File

@@ -2,18 +2,12 @@
export let label: string = ''; export let label: string = '';
</script> </script>
<style>
#sideway-label {
@apply tracking-widest [writing-mode:vertical-rl] [text-orientation:mixed];
}
</style>
<div id={label} class="relative flex flex-row w-full min-h-[300px] mt-5 mb-25"> <div id={label} class="relative flex flex-row w-full min-h-[300px] mt-5 mb-25">
<!-- Sticky/Sliding Label --> <!-- Sticky/Sliding Label -->
<div class="hidden md:flex flex-col items-center mr-6"> <div class="hidden md:flex flex-col items-center mr-6">
<div class="sticky top-24 left-0 z-10"> <div class="sticky top-24 left-0 z-10">
<span id="sideway-label" <span id="sideway-label"
class="text-2xl font-bold text-blue-400" class="text-2xl font-bold text-blue-400 tracking-widest [writing-mode:vertical-rl] [text-orientation:mixed]"
> >
{label} {label}
</span> </span>