瀏覽代碼

fix(navigation): adjust default padding of icon buttons in navigation area to 0 to ensure icons remain visible when width decreases

dengdx 1 月之前
父節點
當前提交
c907644113
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/IconButton.tsx

+ 1 - 1
src/components/IconButton.tsx

@@ -56,7 +56,7 @@ export const IconButton: React.FC<IconButtonProps> = ({
     : icon;
 
   const flexClass = classNames(
-    'flex items-center justify-center gap-1.5',
+    'flex items-center justify-center gap-1.5 p-0',
     { 'flex-col': isVertical },
     className
   );