mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 14:26:43 +00:00
fix: text area input bg color issue in dark mode
This commit is contained in:
@@ -558,7 +558,7 @@ useResizeObserver(inputWrapperRef, () => {
|
||||
'py-1 h-full': isForm,
|
||||
'px-2': isExpandedFormOpen,
|
||||
'border-none': !(props.isAi && isExpandedFormOpen),
|
||||
'border-1 border-nc-border-gray-medium rounded-lg !focus:(shadow-selected-ai border-nc-border-purple ring-0) transition-shadow duration-300':
|
||||
'nc-inline-textarea-ai border-1 border-nc-border-gray-medium rounded-lg !focus:(shadow-selected-ai border-nc-border-purple ring-0) transition-shadow duration-300':
|
||||
props.isAi && isExpandedFormOpen,
|
||||
'bg-transparent': isUnderFormula,
|
||||
}"
|
||||
@@ -875,6 +875,12 @@ useResizeObserver(inputWrapperRef, () => {
|
||||
&:disabled {
|
||||
@apply !bg-transparent;
|
||||
}
|
||||
|
||||
&.nc-inline-textarea-ai {
|
||||
&:not(:disabled) {
|
||||
@apply dark:!bg-nc-bg-default;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
textarea:focus {
|
||||
|
||||
Reference in New Issue
Block a user