Skip to content

Commit ed49b09

Browse files
Kateryna ProkopenkoDevtools-frontend LUCI CQ
authored andcommitted
[GM3Restyling] Update Network custom headers dialog
Screenshot: https://imgur.com/a/wadkEnS Bug: 325442935 Change-Id: Ifaa55a4e2c136d52958f8b51c7a4ee042db539b1 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6249517 Reviewed-by: Kim-Anh Tran <[email protected]> Commit-Queue: Kim-Anh Tran <[email protected]> Commit-Queue: Kateryna Prokopenko <[email protected]> Auto-Submit: Kateryna Prokopenko <[email protected]>
1 parent a691e37 commit ed49b09

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

front_end/panels/network/NetworkManageCustomHeadersView.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export class NetworkManageCustomHeadersView extends UI.Widget.VBox implements UI
5454
super(true);
5555
this.registerRequiredCSS(networkManageCustomHeadersViewStyles);
5656

57-
this.contentElement.classList.add('custom-headers-wrapper');
5857
this.contentElement.createChild('div', 'header').textContent = i18nString(UIStrings.manageHeaderColumns);
5958

6059
this.list = new UI.ListWidget.ListWidget(this);

front_end/panels/network/networkManageCustomHeadersView.css

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@
66

77
.custom-headers-list {
88
height: 272px;
9-
width: 250px;
10-
}
11-
12-
.custom-headers-wrapper {
13-
margin: 10px;
9+
width: var(--sys-size-29);
10+
margin: 0 var(--sys-size-8);
1411
}
1512

1613
.header {
17-
padding: 0 0 6px;
18-
font-size: 18px;
19-
font-weight: normal;
14+
margin: var(--sys-size-5) var(--sys-size-5) var(--sys-size-5) var(--sys-size-8);
15+
padding-top: var(--sys-size-3);
16+
font: var(--sys-typescale-body2-medium);
2017
flex: none;
2118
}
2219

@@ -33,7 +30,6 @@
3330
}
3431

3532
.add-button {
36-
width: 150px;
37-
margin: auto;
38-
margin-top: 5px;
33+
margin: var(--sys-size-6) auto var(--sys-size-8) var(--sys-size-8);
34+
align-items: flex-start;
3935
}

front_end/ui/legacy/dialog.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
*/
66

77
.widget {
8-
box-shadow: var(--drop-shadow);
8+
border-radius: var(--sys-shape-corner-small);
9+
box-shadow: var(--sys-elevation-level3);
910
background: var(--sys-color-cdt-base-container);
1011
justify-content: flex-start;
1112
align-items: stretch;

0 commit comments

Comments
 (0)