mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
style: tag-switch overflow
This commit is contained in:
parent
3b8ccc4fb3
commit
745b88e849
@ -14,7 +14,7 @@ export default function Switch({
|
||||
setTag: (tag: string) => void;
|
||||
}) {
|
||||
return (
|
||||
<div className="z-50 flex flex-col items-start">
|
||||
<div className="z-50 flex flex-col overflow-x-scroll scrollbar-hidden rounded-[50px] items-start">
|
||||
<div className="flex items-center gap-1 rounded-[50px] bg-stone-100 p-[3px] dark:bg-stone-800">
|
||||
{allTag.map((tag) => (
|
||||
<div
|
||||
|
@ -189,3 +189,11 @@
|
||||
opacity: 0.15;
|
||||
}
|
||||
}
|
||||
|
||||
.scrollbar-hidden {
|
||||
scrollbar-width: none; /* Firefox */
|
||||
}
|
||||
|
||||
.scrollbar-hidden::-webkit-scrollbar {
|
||||
display: none; /* Chrome, Safari 和 Opera */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user