diff --git a/src/OberleisteApp.jsx b/src/OberleisteApp.jsx index e9404af..fa39583 100644 --- a/src/OberleisteApp.jsx +++ b/src/OberleisteApp.jsx @@ -139,7 +139,7 @@ function BarCombo({ }} style={{ display: 'inline-flex', alignItems: 'stretch', - height: BAR_H, width, + height: BAR_H + 2, width, boxSizing: 'border-box', background: 'var(--bg-input)', border: '1px solid var(--border)', borderRadius: 999, @@ -410,7 +410,8 @@ export default function OberleisteApp() { const VIEW_W = 140 // konsistent mit Massstab-Pills const CELL_W = Math.floor(VIEW_W / 4) const cellStyle = (isActive, isFirst) => ({ - height: BAR_H, width: CELL_W, + height: BAR_H, minHeight: BAR_H, maxHeight: BAR_H, + width: CELL_W, background: isActive ? 'var(--accent)' : 'var(--bg-input)', color: isActive ? 'var(--bg-panel)' : 'var(--text-primary)', border: 'none', @@ -418,6 +419,8 @@ export default function OberleisteApp() { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', gap: 4, fontWeight: isActive ? 600 : 500, cursor: 'pointer', flexShrink: 0, padding: 0, + appearance: 'none', WebkitAppearance: 'none', + lineHeight: 1, boxSizing: 'border-box', transition: 'background 0.15s, color 0.15s', }) const hoverIn = (isActive) => (e) => { @@ -442,6 +445,7 @@ export default function OberleisteApp() { {/* Reihe 1 */}