Skip to content

Commit d14ecc0

Browse files
committed
Adjust padding and margin for edit format button in PromptField
- edit format should get truncated with ellipsis if there is not enough space - here: [Fragment] overflow hidden makes dotted underline dissapear
1 parent fd02a7c commit d14ecc0

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎packages/ui/src/components/editor/prompt/prompts/PromptField/PromptField.module.scss‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,14 @@
208208
font-size: 11px;
209209
pointer-events: all;
210210
color: var(--vscode-foreground);
211-
padding: 0 2px;
211+
padding: 5px 2px;
212+
margin: -5px 0;
212213
opacity: var(--dimmed-opacity);
213214
white-space: nowrap;
214-
text-decoration: dotted;
215215
overflow: hidden;
216216
text-overflow: ellipsis;
217217
text-decoration: underline dotted;
218218
text-underline-offset: 4px;
219-
overflow: visible;
220219

221220
&:hover {
222221
opacity: 1;

0 commit comments

Comments
 (0)