+
diff --git a/src/ToolsApp.jsx b/src/ToolsApp.jsx
index 1e1742c..0dd79cd 100644
--- a/src/ToolsApp.jsx
+++ b/src/ToolsApp.jsx
@@ -12,8 +12,8 @@ function readTileMode() {
function writeTileMode(m) {
try { localStorage.setItem(TILE_MODE_KEY, m) } catch { /* WebView ohne Storage */ }
}
-const TILE_MIN_COL = { icon: 40, text: 66, both: 58 }
-const TILE_MIN_H = { icon: 38, text: 30, both: 46 }
+const TILE_MIN_COL = { icon: 40, text: 64, both: 86 }
+const TILE_MIN_H = { icon: 32, text: 30, both: 32 }
// Tool-Definitionen: [icon, label, rhino-command, tooltip]
// Material-Symbol-Namen siehe https://fonts.google.com/icons
@@ -81,27 +81,29 @@ function ToolTile({ icon, label, cmd, tip, mode }) {
e.currentTarget.style.background = 'var(--bg-input)'
}}
style={{
- display: 'flex', flexDirection: 'column',
- alignItems: 'center', justifyContent: 'center', gap: 4,
- padding: '6px 4px',
+ display: 'flex', flexDirection: 'row',
+ alignItems: 'center',
+ justifyContent: mode === 'both' ? 'flex-start' : 'center',
+ gap: showIcon && showLabel ? 7 : 0,
+ padding: mode === 'icon' ? '6px' : '5px 11px',
minHeight: TILE_MIN_H[mode],
background: 'var(--bg-input)',
border: '1px solid var(--border-light)',
borderRadius: 999,
cursor: 'pointer',
transition: 'background 0.12s, border-color 0.12s',
- fontSize: 10, fontWeight: 500,
+ fontSize: 11, fontWeight: 500,
color: 'var(--text-primary)',
appearance: 'none', WebkitAppearance: 'none',
}}
>
{showIcon && (
-
)}
{showLabel && (
{label}
)}
@@ -164,7 +166,7 @@ export default function WerkzeugeApp() {
boxSizing: 'border-box',
overflowY: 'auto', overflowX: 'hidden',
}}>
-
+
{groups.map(([title, items]) => (