fix: Replaced inline style
Some checks failed
Publish Svelte Tailwind Library / build-and-publish (push) Failing after 24s
Some checks failed
Publish Svelte Tailwind Library / build-and-publish (push) Failing after 24s
This commit is contained in:
@@ -2,18 +2,12 @@
|
||||
export let label: string = '';
|
||||
</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">
|
||||
<!-- Sticky/Sliding Label -->
|
||||
<div class="hidden md:flex flex-col items-center mr-6">
|
||||
<div class="sticky top-24 left-0 z-10">
|
||||
<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}
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user