web/settings: move switcher description to correct component
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
export let sectionId: string;
|
||||
export let title: string;
|
||||
export let description: string = "";
|
||||
|
||||
let animate = false;
|
||||
|
||||
@@ -21,17 +20,13 @@
|
||||
>
|
||||
<h3 class="settings-content-title">{title}</h3>
|
||||
<slot></slot>
|
||||
|
||||
{#if description.length > 0}
|
||||
<div class="settings-content-description subtext">{description}</div>
|
||||
{/if}
|
||||
</section>
|
||||
|
||||
<style>
|
||||
.settings-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
gap: var(--padding);
|
||||
padding: calc(var(--settings-padding) / 2);
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user