mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 07:04:19 +01:00
feat(ui): make IconButton square and mobile-tappable (44px min)
This commit is contained in:
@@ -17,7 +17,7 @@ const IconButton: React.FC<IconButtonProps> = ({
|
||||
title,
|
||||
ariaLabel,
|
||||
variant = 'ghost',
|
||||
size = 28
|
||||
size = 44
|
||||
}) => {
|
||||
return (
|
||||
<button
|
||||
|
||||
@@ -179,6 +179,8 @@ body {
|
||||
background: #2a2a2a;
|
||||
color: #ddd;
|
||||
cursor: pointer;
|
||||
min-width: 44px; /* mobile tap target */
|
||||
min-height: 44px; /* mobile tap target */
|
||||
}
|
||||
|
||||
.icon-button:hover { background: #333; }
|
||||
|
||||
Reference in New Issue
Block a user