Skip to content

Commit 96f74f6

Browse files
wolfibDevtools-frontend LUCI CQ
authored andcommitted
Add whitespace to "Start new Chat" button to prevent overlap of focus ring
Fixed: 380812086 Change-Id: I03f4a546c2b236f9ea2af0d05042200653301513 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6049955 Commit-Queue: Wolfgang Beyer <[email protected]> Auto-Submit: Wolfgang Beyer <[email protected]> Commit-Queue: Kateryna Prokopenko <[email protected]> Reviewed-by: Kateryna Prokopenko <[email protected]>
1 parent ff2c270 commit 96f74f6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

front_end/panels/freestyler/components/FreestylerChatUi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,7 @@ export class FreestylerChatUi extends HTMLElement {
10321032
<span>${lockedString(UIStringsNotTranslate.pastConversation)}</span>
10331033
<devtools-button
10341034
aria-label=${lockedString(UIStringsNotTranslate.startNewChat)}
1035+
class="chat-inline-button"
10351036
@click=${this.#onNewConversation}
10361037
.data=${{
10371038
variant: Buttons.Button.Variant.TEXT,

front_end/panels/freestyler/components/freestylerChatUi.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@
150150
padding-right: var(--sys-size-3);
151151
}
152152

153+
.chat-inline-button {
154+
padding-left: 3px;
155+
}
156+
153157
.chat-cancel-context-button {
154158
padding-bottom: 3px;
155159
padding-right: var(--sys-size-3);

0 commit comments

Comments
 (0)