web/SettingsToggle: clean up

This commit is contained in:
wukko 2024-06-29 22:53:09 +06:00
parent ad6539e3bd
commit 0c33ac3a1c
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -31,9 +31,7 @@
})
}
>
<div class="toggle-text">
<h4 class="toggle-title">{title}</h4>
</div>
<h4 class="toggle-title">{title}</h4>
<Toggle enabled={isEnabled} />
</button>
<!--
@ -64,9 +62,4 @@
padding: 8px 16px;
border-radius: var(--border-radius);
}
.toggle-text {
display: flex;
flex-direction: column;
}
</style>