mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-27 07:34:12 +08:00
refactor: remove useless classnames
This commit is contained in:
parent
965ec502ac
commit
0c3c908d4f
@ -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>
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user