@@ -167,16 +167,16 @@ const MobileQuickMenu: React.FC<Props> = ({
167167 </ div >
168168
169169 { showAllMenus && (
170- < div className = "px-2 pt-2 pb-1" >
171- < div className = "rounded-2xl border border-gray-800 bg-black/50 shadow-[0_8px_20px_rgba(0,0,0,0.4)] overflow-hidden" >
172- < div className = "px-3 py-2 border-b border-gray-800 flex items-center justify-between" >
170+ < div className = "px-1 pt-1 pb-1" >
171+ < div className = "rounded-xl border border-gray-800 bg-black/50 shadow-[0_8px_20px_rgba(0,0,0,0.4)] overflow-hidden" >
172+ < div className = "px-2 py-1 border-b border-gray-800 flex items-center justify-between" >
173173 < span className = "text-[10px] tracking-[0.18em] text-gray-500" > { 文案 . 全部功能标题 } </ span >
174174 < span className = "text-[10px] text-wuxia-cyan/80" > { allMenus . length } { 文案 . 项后缀 } </ span >
175175 </ div >
176- < div className = "max-h-44 overflow-y-auto no-scrollbar p-2 " >
177- < div className = "grid grid-cols-4 gap-2 " >
176+ < div className = "max-h-56 overflow-y-auto no-scrollbar p-1 " >
177+ < div className = "grid grid-cols-4 gap-1 " >
178178 { allMenus . map ( ( menu ) => (
179- < div key = { menu } className = "relative" >
179+ < div key = { menu } className = "relative min-w-0 " >
180180 < MenuTile
181181 icon = { getIcon ( menu ) }
182182 label = { menu }
@@ -245,18 +245,18 @@ const MenuTile = ({
245245 < button
246246 type = "button"
247247 onClick = { onClick }
248- className = { `h-16 border rounded-xl flex flex-col items-center justify-center gap-1.5 transition-colors ${
248+ className = { `h-16 w-full border rounded-lg flex flex-col items-center justify-center gap-1 transition-colors ${
249249 active
250250 ? 'border-wuxia-gold/80 bg-wuxia-gold/10 text-wuxia-gold'
251251 : 'border-gray-800 bg-black/20 text-gray-300 hover:border-wuxia-cyan/60 hover:text-white'
252252 } `}
253253 >
254- < span className = { `h-8 w-8 flex items-center justify-center translate-y-0.5 transition-all ${
254+ < span className = { `h-8 w-8 flex items-center justify-center shrink-0 transition-all ${
255255 active ? 'scale-110 drop-shadow-[0_0_8px_rgba(230,200,110,0.45)]' : ''
256256 } `} >
257257 < IconGlyph name = { icon } className = "h-5 w-5" />
258258 </ span >
259- < span className = "text-[10px] tracking-[0.12em]" > { label } </ span >
259+ < span className = "text-[10px] tracking-[0.12em] truncate w-full text-center px-1 " > { label } </ span >
260260 </ button >
261261) ;
262262
0 commit comments