Skip to content

Commit 8403021

Browse files
Kateryna ProkopenkoDevtools-frontend LUCI CQ
authored andcommitted
[GM3Restyling] Update Performance > field settings dialog
Screenshot: https://imgur.com/a/ZiatZLe Bug: 325442935 Change-Id: Ic05fcb8537100d44a4252e8cb377391d90179623 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6244023 Reviewed-by: Benedikt Meurer <[email protected]> Commit-Queue: Kateryna Prokopenko <[email protected]> Auto-Submit: Kateryna Prokopenko <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]>
1 parent 227f008 commit 8403021

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

front_end/panels/timeline/components/FieldSettingsDialog.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ export class FieldSettingsDialog extends HTMLElement {
257257
variant: Buttons.Button.Variant.PRIMARY,
258258
title: i18nString(UIStrings.ok),
259259
} as Buttons.Button.ButtonData}
260+
class="enable"
260261
jslog=${VisualLogging.action('timeline.field-data.enable').track({click: true})}
261262
data-field-data-enable
262263
>${i18nString(UIStrings.ok)}</devtools-button>

front_end/panels/timeline/components/fieldSettingsDialog.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ details > summary {
4444

4545
.content {
4646
max-width: 360px;
47-
padding: 0 var(--sys-size-8) var(--sys-size-2);
4847
box-sizing: border-box;
4948
}
5049

@@ -79,9 +78,13 @@ details > summary {
7978

8079
.buttons-section {
8180
display: flex;
82-
justify-content: flex-end;
83-
margin-top: 6px;
84-
gap: 8px;
81+
justify-content: space-between;
82+
margin-top: var(--sys-size-6);
83+
margin-bottom: var(--sys-size-2);
84+
85+
devtools-button.enable {
86+
float: right;
87+
}
8588
}
8689

8790
input[type="checkbox"] {

0 commit comments

Comments
 (0)