Open Bug 1541844 Opened 7 years ago Updated 3 years ago

Increase padding in Rules to 4/8 pixels

Categories

(DevTools :: Inspector: Rules, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: fvsch, Unassigned)

Details

Attachments

(1 file)

CSS text in Rules is a little bit cramped, with this padding:

.ruleview-rule {
  padding: 2px 4px;
}

Compared to other DevTools panes:

  • In Debugger panes we've started using 4px for the top and bottom spacing of most panes, and 20px horizontal padding in many cases
  • In Inspector>Layout and Inspector>Fonts we tend to use 20px horizontal padding too.

We want Rules to still fit a lot of content, but I propose changing the padding to:

.ruleview-rule {
-  padding: 2px 4px;
+  padding: 4px 8px;
}

(padding: 4px 6px; might work too.)

Type: defect → enhancement
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: