fix: overflow issue

This commit is contained in:
Xylight committed 2024-04-22 17:58:06 -07:00
1 parent f161e75bcf
commit 6e3be451b9
5 files changed
+11 -5

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 />
+8 -2
View File
@@ -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>