-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce treeoutline-dirac.css to fix styling issues in console
Console looks nice when all rows are 19px. Some treeoutline styles were producing too fat rows because of some ad-hoc styles. I assume they are needed in some other parts of the UI and that is why I limit my overrides to .console-message context.
- Loading branch information
Showing
3 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
resources/unpacked/devtools/front_end/ui/treeoutline-dirac.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
:host-context(.console-message) .tree-outline li { | ||
min-height: 10px; /* min-height: 16px; was causing fat line in console if tree-outline was used */ | ||
} | ||
|
||
/* do not apply padding to tree-outline when hosted in .console-message */ | ||
:host-context(.console-message) { | ||
padding: 0px; | ||
} | ||
|
||
:host-context(.console-message) .object-properties-section-root-element::before { | ||
-webkit-mask-position: -4px -96px !important; | ||
} | ||
|
||
:host-context(.console-message) .object-properties-section-root-element.expanded::before { | ||
-webkit-mask-position: -20px -96px !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters