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