Skip to content

Commit 0372032

Browse files
bmeurerDevtools-frontend LUCI CQ
authored andcommitted
[application] Make sure the service worker section buttons are visible.
Fixed: 382396712 Bug: 40824726 Screenshot: https://imgur.com/vOpHVP3 Change-Id: I625090c47bb650a7923da70b239450b2034afbfd Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6097341 Auto-Submit: Benedikt Meurer <[email protected]> Reviewed-by: Simon Zünd <[email protected]> Commit-Queue: Simon Zünd <[email protected]>
1 parent 1765f1e commit 0372032

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

front_end/panels/application/serviceWorkersView.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@
140140
flex-grow: 0;
141141
}
142142

143-
.service-workers-this-origin,
144-
.service-workers-other-origin {
145-
min-width: max-content;
146-
}
147-
148143
.service-worker-has-current .service-workers-other-origin {
149144
margin-top: 16px;
150145
border-top: 1px solid var(--sys-color-divider);

front_end/ui/legacy/reportView.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,21 @@
5454
display: flex;
5555
flex-direction: row;
5656
align-items: center;
57+
58+
devtools-button {
59+
flex: 0 0 auto;
60+
}
5761
}
5862

5963
.report-section-title {
60-
flex: auto;
64+
flex: 1 1 auto;
6165
text-overflow: ellipsis;
6266
overflow: hidden;
6367
line-height: 16px;
6468
font-weight: bold;
6569
color: var(--sys-color-on-surface);
70+
min-width: var(--sys-size-21);
71+
white-space: nowrap;
6672
}
6773

6874
.report-field {

0 commit comments

Comments
 (0)