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:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@luke-else/component-lib",
|
"name": "@luke-else/component-lib",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"package": "svelte-package && pnpm run build:css",
|
"package": "svelte-package && pnpm run build:css",
|
||||||
|
@@ -2,21 +2,11 @@
|
|||||||
export let label: string = '';
|
export let label: string = '';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<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 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>
|
|
||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
<div class="flex-1 flex flex-col">
|
<div class="flex-1 flex flex-col">
|
||||||
<!-- Label for mobile -->
|
<!-- Label for mobile -->
|
||||||
<div class="md:hidden mb-2">
|
<div class="mb-2">
|
||||||
<span class="text-2xl font-bold text-blue-400">{label}</span>
|
<span class="text-2xl font-bold text-blue-400">{label}</span>
|
||||||
</div>
|
</div>
|
||||||
<hr class="border-blue-400 mb-6" />
|
<hr class="border-blue-400 mb-6" />
|
||||||
|
Reference in New Issue
Block a user