diff --git a/src/OberleisteApp.jsx b/src/OberleisteApp.jsx index 867da81..5202e4c 100644 --- a/src/OberleisteApp.jsx +++ b/src/OberleisteApp.jsx @@ -102,6 +102,7 @@ function BarSelect({ icon, value, onChange, title, disabled, width, children }) style={{ color: 'var(--text-muted)', flexShrink: 0 }} /> )} applyDropdown(v)} disabled={isPerspective} - width={120} + width={140} title="Gesetzter Massstab" > diff --git a/src/index.css b/src/index.css index e022e42..37d365b 100644 --- a/src/index.css +++ b/src/index.css @@ -196,6 +196,33 @@ select:hover { border-color: var(--text-muted); } +/* Opt-out: System-native Chrome (Oberleiste). Setzt die globalen + pill/appearance:none Overrides zurueck und ueberlaesst WebKit das + Rendering — Standard-macOS-Combobox + Native-Popup-Menue. */ +select.native-control, +input.native-control { + appearance: auto; + -webkit-appearance: auto; + background: revert; + background-image: none; + border: revert; + border-radius: revert; + padding: revert; + font: revert; + letter-spacing: revert; + box-shadow: none; +} +select.native-control:hover, +input.native-control:hover { + background: revert; + border-color: revert; +} +select.native-control:focus, +input.native-control:focus { + box-shadow: revert; + border-color: revert; +} + /* Utility */ .label-xs { font-size: 10px;