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/initials": "^6.0.4",
|
||||
"markdown-it": "^13.0.1",
|
||||
"mono-svelte": "1.5.8"
|
||||
"mono-svelte": "latest"
|
||||
},
|
||||
"overrides": {
|
||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
<option value="piped">Piped</option>
|
||||
</Select>
|
||||
</Setting>
|
||||
<Setting>
|
||||
<Setting vertical>
|
||||
<span slot="title">Font</span>
|
||||
<span slot="description">What font Photon should use.</span>
|
||||
<MultiSelect
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<div
|
||||
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>
|
||||
<slot />
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
<script lang="ts">
|
||||
export let vertical: boolean = false
|
||||
</script>
|
||||
|
||||
<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}">
|
||||
<h1 class="font-medium text-base"><slot name="title" /></h1>
|
||||
@@ -11,7 +17,7 @@
|
||||
</div>
|
||||
{#if $$slots.default}
|
||||
<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 />
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user