Skip to content

Commit 68ea0b6

Browse files
ktranDevtools-frontend LUCI CQ
authored andcommitted
Make Sources placeholder properly scrollable
With a previous update on the empty states, the placeholder in Sources was no longer fully visible. This fixes it. Drive-by: Adjust paddings and shrink properties Before: https://i.imgur.com/70lIpaH.mp4 After: https://i.imgur.com/Hp3Mjrj.mp4 Fixed: 397829607 Change-Id: I50d4886b727f9127899ac9389102271da3dfb502 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6285925 Auto-Submit: Kim-Anh Tran <[email protected]> Reviewed-by: Kateryna Prokopenko <[email protected]> Commit-Queue: Kim-Anh Tran <[email protected]>
1 parent e566d57 commit 68ea0b6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

front_end/ui/legacy/tabbedPane.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@
4747

4848
.tabbed-pane-placeholder {
4949
text-align: center;
50-
display: flex;
51-
align-items: center;
52-
justify-content: center;
53-
width: 100%;
54-
height: 100%;
50+
align-content: center;
5551
}
5652

5753
.tabbed-pane-placeholder-row {
@@ -66,7 +62,7 @@
6662
border: var(--sys-size-2) dashed var(--sys-color-divider);
6763
padding: var(--sys-size-8);
6864
border-radius: var(--sys-shape-corner-medium);
69-
margin-bottom: var(--sys-size-11);
65+
margin: var(--sys-size-8) var(--sys-size-8) var(--sys-size-11);
7066

7167
> .icon-container {
7268
flex-shrink: 0;
@@ -105,6 +101,7 @@
105101

106102
.keybinds-key {
107103
display: flex;
104+
flex-shrink: 0;
108105
align-items: center;
109106
justify-content: center;
110107
height: var(--sys-size-11);

0 commit comments

Comments
 (0)