Pier Angelo Vendrame pushed to branch tor-browser-115.7.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits: 94081cf4 by Henry Wilkes at 2024-02-13T17:46:34+00:00 fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
Bug 42414: Make address overflow ellipsis show in bridge grid.
- - - - -
5 changed files:
- browser/components/torpreferences/content/connectionPane.js - browser/components/torpreferences/content/connectionPane.xhtml - browser/components/torpreferences/content/provideBridgeDialog.js - browser/components/torpreferences/content/provideBridgeDialog.xhtml - browser/components/torpreferences/content/torPreferences.css
Changes:
===================================== browser/components/torpreferences/content/connectionPane.js ===================================== @@ -675,7 +675,7 @@ const gBridgeGrid = { }); }
- row.element.querySelector(".tor-bridges-address-cell").textContent = + row.element.querySelector(".tor-bridges-address-cell-text").textContent = bridgeLine;
row.statusEl = row.element.querySelector(
===================================== browser/components/torpreferences/content/connectionPane.xhtml ===================================== @@ -238,7 +238,9 @@ <html:span class="tor-bridges-address-cell tor-bridges-grid-cell" role="gridcell" - ></html:span> + > + <html:span class="tor-bridges-address-cell-text"></html:span> + </html:span> <html:span class="tor-bridges-status-cell tor-bridges-grid-cell" role="gridcell"
===================================== browser/components/torpreferences/content/provideBridgeDialog.js ===================================== @@ -487,7 +487,8 @@ const gProvideBridgeDialog = { }); }
- rowEl.querySelector(".tor-bridges-address-cell").textContent = bridgeLine; + rowEl.querySelector(".tor-bridges-address-cell-text").textContent = + bridgeLine;
this._bridgeGrid.append(rowEl); }
===================================== browser/components/torpreferences/content/provideBridgeDialog.xhtml ===================================== @@ -82,7 +82,9 @@ <html:span class="tor-bridges-address-cell tor-bridges-grid-cell" role="gridcell" - ></html:span> + > + <html:span class="tor-bridges-address-cell-text"></html:span> + </html:span> </html:span> </html:div> </html:template>
===================================== browser/components/torpreferences/content/torPreferences.css ===================================== @@ -395,6 +395,9 @@ /* base size */ width: 10em; flex: 1 0 auto; +} + +.tor-bridges-address-cell-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/94081cf4...
tbb-commits@lists.torproject.org