mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-09-22 11:10:13 +00:00
fix: simplify className usage for icons in Server component
This commit is contained in:
@@ -317,7 +317,7 @@ export default function Servers() {
|
|||||||
},
|
},
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<MapIcon className={cn("size-[13px]")} />
|
<MapIcon className="size-[13px]" />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -338,7 +338,7 @@ export default function Servers() {
|
|||||||
},
|
},
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<ChartBarSquareIcon className={cn("size-[13px]")} />
|
<ChartBarSquareIcon className="size-[13px]" />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -356,11 +356,7 @@ export default function Servers() {
|
|||||||
},
|
},
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<ViewColumnsIcon
|
<ViewColumnsIcon className="size-[13px]" />
|
||||||
className={cn("size-[13px]", {
|
|
||||||
"text-white": inline === "1",
|
|
||||||
})}
|
|
||||||
/>
|
|
||||||
</button>
|
</button>
|
||||||
<GroupSwitch
|
<GroupSwitch
|
||||||
tabs={groupTabs}
|
tabs={groupTabs}
|
||||||
|
|||||||
Reference in New Issue
Block a user