Skip to content

Commit e1c7f23

Browse files
committed
Fix clear button icon alignment by resetting line height and adjusting pseudo-element line height
1 parent b2210ef commit e1c7f23

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/ui/src/components/editor/panel/PromptField/PromptField.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,11 @@
105105
cursor: pointer;
106106
color: var(--vscode-icon-foreground);
107107
opacity: var(--dimmed-opacity);
108+
line-height: 0;
108109

109110
&::before {
110111
font-size: 13px !important;
112+
line-height: 1;
111113
}
112114

113115
&:hover {

0 commit comments

Comments
 (0)