Skip to content

Commit 531c40b

Browse files
Lightning00BladeDevtools-frontend LUCI CQ
authored andcommitted
[recorder] Reduce the padding around sections
This reduces the needed space while still maintaining a gap of 16px. between the selection. It also fixes an issue where scrolled appeared even when everything fit on screen. Bug: none Change-Id: Icb8123cb15979e4370df3b38258a18cb79e3fec3 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6862593 Reviewed-by: Alex Rudenko <[email protected]> Commit-Queue: Nikolay Vitkov <[email protected]>
1 parent 7dae717 commit 531c40b

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

front_end/panels/recorder/components/recordingView.css

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@
2626
}
2727

2828
.sections {
29-
flex: 1;
3029
min-height: 0;
31-
overflow: hidden auto;
30+
overflow: hidden;
3231
background-color: var(--sys-color-cdt-base-container);
3332
z-index: 0;
3433
position: relative;
@@ -52,11 +51,6 @@
5251
z-index: -1;
5352
}
5453

55-
.section:last-child {
56-
/* Make sure there is enough space for the context menu. */
57-
margin-bottom: 70px;
58-
}
59-
6054
.section:last-child::after {
6155
content: none;
6256
}

front_end/panels/recorder/components/timelineSection.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
.timeline-section {
1515
position: relative;
16-
padding: 16px 0 16px 40px;
16+
padding: 16px 0 0 40px;
1717
margin-left: 8px;
1818

1919
--override-color-recording-successful-text: #36a854;

0 commit comments

Comments
 (0)