Closed Bug 1815557 Opened 3 years ago Closed 2 years ago

Pseudo class toggles could make better use of available space

Categories

(DevTools :: Inspector, enhancement, P3)

enhancement

Tracking

(firefox-esr102 unaffected, firefox109 unaffected, firefox110 unaffected, firefox111 wontfix, firefox112 wontfix, firefox113 fixed)

RESOLVED FIXED
113 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- unaffected
firefox110 --- unaffected
firefox111 --- wontfix
firefox112 --- wontfix
firefox113 --- fixed

People

(Reporter: ntim, Assigned: zacnomore)

References

Details

Attachments

(2 files)

Attached image image.png
No description provided.

Set release status flags based on info from the regressing bug 1639052

:zacnomore, since you are the author of the regressor, bug 1639052, could you take a look?

For more information, please visit auto_nag documentation.

switching to a grid could work

diff --git a/devtools/client/themes/rules.css b/devtools/client/themes/rules.css
--- a/devtools/client/themes/rules.css
+++ b/devtools/client/themes/rules.css
@@ -60,7 +60,8 @@
 
 .ruleview-reveal-panel {
   border-bottom: 1px solid var(--theme-splitter-color);
-  display: flex;
+  display: grid;
+  grid-template-columns: repeat(auto-fit, minmax(100px, max-content));
   overflow: hidden;
   flex-wrap: wrap;
   margin: 2px;
@@ -77,9 +78,6 @@
 
 .ruleview-reveal-panel label {
   user-select: none;
-  flex-grow: 1;
-  width: 30%;
-  min-width: 100px;
   display: flex;
   align-items: center;
 }

Makes sense to me, thank you for checking this out. I'll get right on it.

Assignee: nobody → cczac1
Status: NEW → ASSIGNED
Flags: needinfo?(cczac1)

Set release status flags based on info from the regressing bug 1639052

Type: defect → enhancement
Priority: -- → P3

This bug has the keyword regression, so its type should be defect.

Type: enhancement → defect
Severity: -- → S3
Severity: S3 → --
Type: defect → enhancement
Depends on: 1639052
Keywords: regression
No longer regressed by: 1639052

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:zacnomore, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(nchevobbe)
Flags: needinfo?(cczac1)

did the required change and pushed the patch

Flags: needinfo?(nchevobbe)
Flags: needinfo?(cczac1)
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/477f53b97730 Improve space usage by pseudo class toggles r=nchevobbe,devtools-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Regressions: 1825048
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: