Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/celemod-ui/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,17 @@ body {
color: var(--color-fg);
background-color: var(--color-surface-elevated);
}

/* WebKitGTK, the Linux WebView, draws a native <select> with its own inner
layout: when a fixed height leaves the content box barely one text line
tall, the selected text is clipped to a thin band (every CeleMod dropdown
showed half-height glyphs). The menulist centres its text by itself, so the
vertical padding only shrinks that content box; dropping it keeps the box
size and lets the whole glyph run render. Scoped to Linux, where Tauri
always uses WebKitGTK, so Windows and macOS keep the previous rendering. */
html[data-platform="linux"] select {
padding-block: 0 !important;
}
}

/* ========================================================================== */
Expand Down
Loading