mirror of
https://github.com/nexu-io/open-design.git
synced 2026-10-27 09:51:12 +01:00
fix(web): widen settings subtitle max width
Allow the English settings subtitle to fit on one line in the settings modal while preserving wrapping on narrow viewports.
This commit is contained in:
@@ -1154,7 +1154,12 @@ code {
|
||||
font-size: 13px;
|
||||
color: var(--text-muted);
|
||||
line-height: 1.55;
|
||||
max-width: 50ch;
|
||||
/* 72ch lets typical one-sentence English subtitles fit on a single
|
||||
* line inside the 920px settings modal while still wrapping cleanly
|
||||
* on narrow viewports (the modal width clamps to 100vw - 48px) and
|
||||
* for the longest locales (German, French). 50ch was forcing even
|
||||
* the English subtitle onto two lines. See nexu-io/open-design#743. */
|
||||
max-width: 72ch;
|
||||
}
|
||||
.modal-foot {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user