refactor: remove useless classnames

This commit is contained in:
kunish 2023-09-08 23:16:27 +08:00
parent 965ec502ac
commit 0c3c908d4f
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ export const Collapse: ParentComponent<Props> = (props) => {
class={twMerge( class={twMerge(
getCollapseContentClassName(), getCollapseContentClassName(),
mediaQueryClassName(), mediaQueryClassName(),
'collapse-content grid auto-rows-min grid-cols-2 gap-2 transition-opacity duration-1000', 'collapse-content grid grid-cols-2 gap-2 transition-opacity duration-1000',
)} )}
> >
<Show when={props.isOpen}>{content}</Show> <Show when={props.isOpen}>{content}</Show>

View File

@ -72,7 +72,7 @@ export default () => {
<Show when={rulesProviders().length > 0}> <Show when={rulesProviders().length > 0}>
<div class="flex-1"> <div class="flex-1">
<h1 class="flex h-11 items-center gap-2 pb-4 text-lg font-semibold"> <h1 class="flex items-center gap-2 pb-4 text-lg font-semibold">
{t('ruleProviders')} {t('ruleProviders')}
<Button <Button
class="btn-circle btn-sm" class="btn-circle btn-sm"