Skip to content

Commit cba0a0c

Browse files
Lightning00BladeDevtools-frontend LUCI CQ
authored andcommitted
[Freestyler] Fix disabled color
Does what is describe on the bug + add a line hight so that the text is centered Fixed: 372632903 Change-Id: I54fd74d9881642042efccc2eb3dd18708b20c8c9 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5953763 Reviewed-by: Ergün Erdoğmuş <[email protected]> Commit-Queue: Ergün Erdoğmuş <[email protected]> Auto-Submit: Nikolay Vitkov <[email protected]>
1 parent 5fc11a8 commit cba0a0c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

front_end/panels/freestyler/components/freestylerChatUi.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -554,14 +554,16 @@ main {
554554
}
555555

556556
.disabled-view {
557+
display: flex;
558+
max-width: var(--sys-size-34);
557559
border-radius: var(--sys-shape-corner-small);
558-
padding: var(--sys-size-6) var(--sys-size-8);
559-
box-shadow: var(--drop-shadow);
560+
box-shadow: var(--sys-elevation-level3);
561+
background-color: var(--app-color-card-background);
560562
font: var(--sys-typescale-body4-regular);
561-
margin: var(--sys-size-4) 0;
562-
max-width: var(--sys-size-34);
563-
display: flex;
564563
text-wrap: pretty;
564+
padding: var(--sys-size-6) var(--sys-size-8);
565+
margin: var(--sys-size-4) 0;
566+
line-height: var(--sys-size-9);
565567

566568
.disabled-view-icon-container {
567569
border-radius: var(--sys-shape-corner-extra-small);

0 commit comments

Comments
 (0)