Skip to content

Commit ee26370

Browse files
bmeurerDevtools-frontend LUCI CQ
authored andcommitted
[application] Fix focus ring for Preloading pretty-print button.
Fixed: 372831350 Bug: 40279147 Change-Id: I8008e60069b4d93ba414a24bc32ae0fdc1b09bb5 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5941023 Commit-Queue: Benedikt Meurer <[email protected]> Reviewed-by: Wolfgang Beyer <[email protected]> Auto-Submit: Benedikt Meurer <[email protected]> Commit-Queue: Wolfgang Beyer <[email protected]>
1 parent b035416 commit ee26370

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

front_end/panels/application/preloading/PreloadingView.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ export class PreloadingRuleSetView extends UI.Widget.VBox {
226226
this.updateRuleSetDetails();
227227
};
228228

229+
// clang-format off
229230
LitHtml.render(
230231
html`
231232
<devtools-split-view .horizontal=${true} style="--min-sidebar-size: max(100vh-200px, 0px)">
@@ -245,13 +246,12 @@ export class PreloadingRuleSetView extends UI.Widget.VBox {
245246
.toggleType=${Buttons.Button.ToggleType.PRIMARY}
246247
.title=${i18nString(UIStrings.prettyPrint)}
247248
.variant=${Buttons.Button.Variant.ICON_TOGGLE}
248-
.size=${Buttons.Button.Size.SMALL}
249+
.size=${Buttons.Button.Size.REGULAR}
249250
@click=${onPrettyPrintToggle}
250-
jslog=${VisualLogging.action().track({click: true}).context('preloading-status-panel-pretty-print')}>
251-
</devtools-button>
252-
</div>
253-
`,
251+
jslog=${VisualLogging.action().track({click: true}).context('preloading-status-panel-pretty-print')}></devtools-button>
252+
</div>`,
254253
this.contentElement, {host: this});
254+
// clang-format on
255255
this.hsplit = this.contentElement.querySelector('devtools-split-view') as SplitView.SplitView.SplitView;
256256
}
257257

0 commit comments

Comments
 (0)