mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
style(core): enhance chat-input focus shadow (#13067)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Enhanced the visual appearance of the chat input field when focused by adding a new box-shadow effect. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -56,6 +56,12 @@ export class AIChatInput extends SignalWatcher(
|
||||
0px 0px 0px 3px transparent,
|
||||
0px 2px 3px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.chat-panel-input[data-if-focused='true'] {
|
||||
box-shadow:
|
||||
var(--border-shadow),
|
||||
0px 0px 0px 3px transparent,
|
||||
0px 4px 6px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
[data-theme='dark'] .chat-panel-input[data-if-focused='true'] {
|
||||
box-shadow:
|
||||
var(--border-shadow),
|
||||
|
||||
Reference in New Issue
Block a user