Skip to content

Commit a5acb13

Browse files
committed
UI: Add a nice shadow under the input
1 parent 2ca8fc0 commit a5acb13

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/conversation-ui/src/conversation.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,16 @@
109109
> textarea {
110110
resize: vertical;
111111
width: 100%;
112+
z-index: 1; // Abose nearby elements
113+
114+
&:not(:disabled):not([disabled]) {
115+
&:active,
116+
&:focus {
117+
box-shadow: 0 0 1.25rem var(--border-active);
118+
transition-property: box-shadow outline;
119+
transition-duration: 0.125s;
120+
}
121+
}
112122
}
113123
}
114124
}

0 commit comments

Comments
 (0)