Skip to content

Commit 96578d1

Browse files
committed
Adjust the inset of the disabled PromptField overlay to cover the border
- when showing warning, we overlay the prompt field with pseudo element that dims it. It's almost great - the only issue is that the border is not getting dimmed.
1 parent cc0809f commit 96578d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
&::after {
2626
content: '';
2727
position: absolute;
28-
inset: 0;
29-
z-index: 2;
28+
inset: -1px;
29+
z-index: 2;
3030
border-radius: inherit;
3131
background-color: color-mix(
3232
in srgb,

0 commit comments

Comments
 (0)