mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
feat: hidden scrollbar for mobile
This commit is contained in:
parent
8cea622251
commit
2ce3016275
@ -19,14 +19,23 @@
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
|
||||||
@apply rounded-box bg-primary;
|
|
||||||
}
|
|
||||||
|
|
||||||
::-webkit-scrollbar:vertical {
|
::-webkit-scrollbar:vertical {
|
||||||
width: 6px;
|
width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar:horizontal {
|
::-webkit-scrollbar:horizontal {
|
||||||
height: 6px;
|
height: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 640px) {
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
@apply rounded-box bg-primary;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar:vertical {
|
||||||
|
width: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar:horizontal {
|
||||||
|
height: 6px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -72,10 +72,10 @@ 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 pb-4 text-lg font-semibold">
|
<h1 class="flex h-11 items-center gap-2 pb-4 text-lg font-semibold">
|
||||||
{t('ruleProviders')}
|
{t('ruleProviders')}
|
||||||
<Button
|
<Button
|
||||||
class="btn-circle btn-ghost btn-sm ml-2"
|
class="btn-circle btn-sm"
|
||||||
disabled={allProviderIsUpdating()}
|
disabled={allProviderIsUpdating()}
|
||||||
onClick={(e) => onUpdateAllProviderClick(e)}
|
onClick={(e) => onUpdateAllProviderClick(e)}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user