fix: overflow issue
This commit is contained in:
1 parent
f161e75bcf
commit
6e3be451b9
5 files changed
+11
-5
No files matched your search
+1
-1
@@ -47,7 +47,7 @@
|
|||||||
"@dicebear/core": "^6.0.4",
|
"@dicebear/core": "^6.0.4",
|
||||||
"@dicebear/initials": "^6.0.4",
|
"@dicebear/initials": "^6.0.4",
|
||||||
"markdown-it": "^13.0.1",
|
"markdown-it": "^13.0.1",
|
||||||
"mono-svelte": "1.5.8"
|
"mono-svelte": "latest"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||||
|
|||||||
@@ -195,7 +195,7 @@
|
|||||||
<option value="piped">Piped</option>
|
<option value="piped">Piped</option>
|
||||||
</Select>
|
</Select>
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting>
|
<Setting vertical>
|
||||||
<span slot="title">Font</span>
|
<span slot="title">Font</span>
|
||||||
<span slot="description">What font Photon should use.</span>
|
<span slot="description">What font Photon should use.</span>
|
||||||
<MultiSelect
|
<MultiSelect
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
class="flex flex-col min-w-0 divide-y divide-slate-200 dark:divide-zinc-800
|
class="flex flex-col min-w-0 divide-y divide-slate-200 dark:divide-zinc-800
|
||||||
[&>*]:py-4"
|
[&>*]:py-4 max-w-full w-full"
|
||||||
>
|
>
|
||||||
<SectionTitle class="text-xl text-inherit">{title}</SectionTitle>
|
<SectionTitle class="text-xl text-inherit">{title}</SectionTitle>
|
||||||
<slot />
|
<slot />
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
export let vertical: boolean = false
|
||||||
|
</script>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="flex flex-row items-center w-full justify-between gap-4 max-w-full {$$props.mainClass}"
|
class="flex {vertical
|
||||||
|
? 'flex-col'
|
||||||
|
: 'flex-row items-center'} w-full justify-between gap-4 max-w-full {$$props.mainClass}"
|
||||||
>
|
>
|
||||||
<div class="flex flex-col gap-0.5 flex-1 {$$props.class}">
|
<div class="flex flex-col gap-0.5 flex-1 {$$props.class}">
|
||||||
<h1 class="font-medium text-base"><slot name="title" /></h1>
|
<h1 class="font-medium text-base"><slot name="title" /></h1>
|
||||||
@@ -11,7 +17,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{#if $$slots.default}
|
{#if $$slots.default}
|
||||||
<div
|
<div
|
||||||
class="w-full flex flex-col gap-2 flex-1 items-end {$$props.optionClass}"
|
class="w-full flex flex-col gap-2 flex-1 items-end max-w-full {$$props.optionClass}"
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user