Open Bug 1578165 Opened 7 years ago Updated 4 years ago

Sources vertical padding is 8px instead of 4px

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: fvsch, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Visual polish issue: we have too much vertical padding in the Sources list (8px instead of 4px) because we put padding: 4px 0; in two places:

.threads-list {
    padding: 4px 0;
}

.sources-list .managed-tree .tree {
  padding: 4px 0;
}

On top of that, the DOM structure for the Sources pane seems a bit deep. In particular, I'm not sure we need the threads-list class here? If we expect this class to only appear in the threads list in SecondaryPanes, then the risk it that we'll start styling stuff (intended for the SecondaryPanes Threads section) based on this class and end up with unwanted changes in Sources.

Ideally I would:

  • remove the threads-list wrapper and class in Sources, if possible
  • add the padding: 4px 0; to .sources-list
  • remove it from .sources-list .managed-tree .tree
Blocks: dbg-frontend
Priority: -- → P3
Severity: normal → S3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: