Skip to content

Commit be289f6

Browse files
ktranDevtools-frontend LUCI CQ
authored andcommitted
[GM3Restyling] Update WebAudio key-value pair
Before: https://i.imgur.com/aVWAr49.png After: https://i.imgur.com/p3UWBUC.png Bug: 325443308 Change-Id: I603e8271493508855fabe33a45e08a36de35fbea Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6375503 Reviewed-by: Kateryna Prokopenko <[email protected]> Commit-Queue: Kim-Anh Tran <[email protected]>
1 parent 10cf604 commit be289f6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

front_end/panels/web_audio/webAudio.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,39 +55,39 @@
5555

5656
.context-detail-header {
5757
border-bottom: 1px solid var(--sys-color-divider);
58-
padding: 12px 24px;
59-
margin-bottom: 10px;
58+
padding: var(--sys-size-7) var(--sys-size-9);
59+
margin-bottom: var(--sys-size-5);
6060
}
6161

6262
.context-detail-title {
63-
font-size: 15px;
64-
font-weight: 400;
63+
font: var(--sys-typescale-headline4);
6564
}
6665

6766
.context-detail-subtitle {
68-
font-size: 12px;
69-
margin-top: 10px;
67+
font: var(--sys-typescale-body4-regular);
7068
user-select: text;
7169
}
7270

7371
.context-detail-row {
74-
flex-direction: row;
75-
display: flex;
72+
grid-template-columns: min-content 1fr;
73+
display: grid;
7674
line-height: 18px;
77-
padding-left: 24px;
75+
margin: var(--sys-size-3) var(--sys-size-9) var(--sys-size-3) var(--sys-size-9);
76+
gap: var(--sys-size-6);
7877
}
7978

8079
.context-detail-row-entry:not(:empty) {
81-
color: var(--sys-color-token-subtle);
80+
color: var(--sys-color-on-surface-subtle);
8281
overflow: hidden;
83-
width: 130px;
82+
min-width: 130px;
83+
font: var(--sys-typescale-body5-medium);
8484
}
8585

8686
.context-detail-row-value {
8787
user-select: text;
88-
white-space: nowrap;
8988
text-overflow: ellipsis;
9089
overflow: hidden;
90+
font: var(--sys-typescale-body4-regular);
9191
}
9292

9393
.context-summary-container {

0 commit comments

Comments
 (0)