fix: Simplified Section component
All checks were successful
Publish Svelte Tailwind Library / build-and-publish (push) Successful in 25s
All checks were successful
Publish Svelte Tailwind Library / build-and-publish (push) Successful in 25s
This commit is contained in:
@@ -2,21 +2,11 @@
|
||||
export let label: string = '';
|
||||
</script>
|
||||
|
||||
<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 tracking-widest vertical-text"
|
||||
>
|
||||
{label}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id={label} class="relative flex flex-row w-full mt-5 mb-25">
|
||||
<!-- Main Content -->
|
||||
<div class="flex-1 flex flex-col">
|
||||
<!-- Label for mobile -->
|
||||
<div class="md:hidden mb-2">
|
||||
<div class="mb-2">
|
||||
<span class="text-2xl font-bold text-blue-400">{label}</span>
|
||||
</div>
|
||||
<hr class="border-blue-400 mb-6" />
|
||||
|
Reference in New Issue
Block a user