feat: optiminize

This commit is contained in:
butterfly
2024-04-26 01:31:03 +08:00
parent 59583e53bd
commit 48e8c0a194
30 changed files with 304 additions and 263 deletions

View File

@@ -76,7 +76,7 @@ export default function ActionsBar(props: ActionsBarProps) {
return (
<div
key={action.id}
className={` shrink-1 grow-0 basis-[${
className={` cursor-pointer shrink-1 grow-0 basis-[${
(100 - 1) / arr.length
}%] flex flex-col items-center justify-center gap-0.5
${
@@ -98,7 +98,7 @@ export default function ActionsBar(props: ActionsBarProps) {
return (
<div
key={action.id}
className={`p-3 ${
className={`cursor-pointer p-3 ${
selected === action.id
? "bg-actions-bar-btn-default"
: "bg-transparent"