Compare commits

Author SHA1 Message Date
adminandClaude Opus 5.5 1e40adf35d Submodules: point at the Gitea repositories
The GitHub repositories are gone with the suspended account (or are
mirrored on Gitea). Relative URLs (../<repo>.git) resolve against wherever
this repository is cloned from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 16:37:12 +01:00
adminandClaude Opus 4.8 a5bdf02009 fix: give the scale dropdown min-width slack so labels aren't flush
The previous max-width-only fix let the <select> auto-size to an exact
hug of the longest label (text width == content width), which can still
clip the final glyph across fonts. Add min-width:140px so localized
labels like PL 'Dopasuj wysokosc' render with visible slack; max-width
raised to 170px so the longest (RU) labels still fit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 14:50:17 +02:00
2 changed files with 11 additions and 11 deletions
+8 -8
View File
@@ -1,24 +1,24 @@
[submodule "submodules/pdf.js"]
path = submodules/pdf.js
url = https://github.com/mozilla/pdf.js
url = ../pdf.js.git
[submodule "submodules/JSDoc"]
path = submodules/JSDoc
url = https://github.com/Alpaq92/JSDoc
url = ../JSDoc.git
[submodule "submodules/docx"]
path = submodules/docx
url = https://github.com/dolanmiu/docx
url = ../docx.git
[submodule "submodules/WebODF"]
path = submodules/WebODF
url = https://github.com/webodf/WebODF
url = ../WebODF.git
[submodule "submodules/rtf.js"]
path = submodules/rtf.js
url = https://github.com/tbluemel/rtf.js
url = ../rtf.js.git
[submodule "submodules/marked"]
path = submodules/marked
url = https://github.com/markedjs/marked
url = ../marked.git
[submodule "submodules/foliate-js"]
path = submodules/foliate-js
url = https://github.com/johnfactotum/foliate-js
url = ../foliate-js.git
[submodule "submodules/dejaview"]
path = submodules/dejaview
url = https://github.com/Alpaq92/dejaview
url = ../dejaview.git
+3 -3
View File
@@ -201,9 +201,9 @@ html, body {
}
/* The scale dropdown holds longer localized labels (e.g. PL "Dopasuj wysokość",
RU "По размеру страницы"); give it room so the selected value isn't clipped.
A native <select> still sizes to its widest option, so short-label languages
(English etc.) stay compact — this is only a ceiling. */
#scaleSelect { max-width: 160px; }
min-width guarantees comfortable slack (not an exact hug of the text), and
max-width lets the longest labels grow while keeping it from getting silly. */
#scaleSelect { min-width: 140px; max-width: 170px; }
#scaleSelect:focus, #langSelect:focus { outline: none; }
/* Format badge */