Commit 2fb05792 authored by vidorteg's avatar vidorteg Committed by Commit Bot

DevTools: Removing max-width from "Run audits" button.

Audits button gets truncated when the text inside it is larger than
100px. This is not compliant with localization, the proposed fix is to
remove the max-width constraint

[Before]:
https://i.imgur.com/6AsSCtL.png

[After]:
https://i.imgur.com/KQVCVTq.png

Bug: 941561
Change-Id: I80bc60a793bbbba24b5d23ba508bead4e1751f3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1783204Reviewed-by: default avatarConnor Clark <cjamcl@google.com>
Commit-Queue: Vidal Diazleal <vidorteg@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#693295}
parent f7e0fb14
......@@ -75,8 +75,8 @@ Audits.StartView = class extends UI.Widget {
_render() {
this._startButton = UI.createTextButton(
ls`Run audits`, () => this._controller.dispatchEventToListeners(Audits.Events.RequestAuditStart),
'audits-start-button', true /* primary */);
ls`Run audits`, () => this._controller.dispatchEventToListeners(Audits.Events.RequestAuditStart), '',
true /* primary */);
this.setDefaultFocusedElement(this._startButton);
const deviceIcon = UI.Icon.create('largeicon-phone');
......
......@@ -99,10 +99,6 @@
align-items: center;
}
.audits-start-button {
max-width: 100px;
}
.audits-start-view .toolbar-dropdown-arrow {
display: none;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment