Skip to content

misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux

Extension popup: Open Mister Download Manager shows whole (part of #164) (#233)

Ahmed Nefzaouic4834e70998b
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 91dd1217..fa40873b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -538,6 +538,10 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see
### Fixed
+- **The extension's popup: Open Mister Download Manager shows whole**
+ ([#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): on Linux, whose fonts
+ are wider, and in longer languages, the button was cut to "Open Mister Do…". Each button is now
+ as wide as its text, and Options moves below it when both don't fit on one line.
- **The crash report window's status line stays inside the window**
([#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): the line above the
check box ("The symbols couldn't be fetched: …", an issue's title, a translation) ran past the
diff --git a/ROADMAP.md b/ROADMAP.md
index d4acd326..670211e5 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -13,6 +13,9 @@ Everything below ships together, in one release, as version 0.3.0.
### Done
+- ✅ The extension's popup shows **Open Mister Download Manager** whole: it was cut to "Open Mister
+ Do…" on Linux and in longer languages; Options moves below it when both don't fit on one line
+ (part of [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164))
- ✅ The crash report window's status line (such as "The symbols couldn't be fetched: …") stays
inside the window: cut with "…" at its margin and shown whole under the pointer; its title is
in MDM's language, and its title bar in MDM's light or dark (part of
diff --git a/extension/popup.css b/extension/popup.css
index ce483907..d0afcdf5 100644
--- a/extension/popup.css
+++ b/extension/popup.css
@@ -60,8 +60,10 @@ button:hover { filter: brightness(0.96); }
button:focus-visible, input:focus-visible, .link:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
button.accent { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
button.row { width: 100%; text-align: start; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
-.actions { display: flex; gap: 8px; margin-top: 12px; }
-.actions button { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+/* Each button as wide as its text; when both don't fit on one line (a wider font, a longer
+ language), Options goes below Open and each takes the whole line, so neither is cut. */
+.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
+.actions button { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note { color: var(--muted); margin: 10px 0 0; font-size: 12px; }
footer { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; border-top: 1px solid var(--edge); padding-top: 6px; color: var(--muted); font-size: 12px; }
/* Help and Support MDM side by side on the footer's one line: the popup keeps its height. */