mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: TextArea Resizer styling when disabled
This commit is contained in:
parent
f057d5c85b
commit
a98ed3a5ba
@ -13,6 +13,15 @@ const invokeAI = defineStyle((props) => ({
|
|||||||
var(--invokeai-colors-base-200) 70%,
|
var(--invokeai-colors-base-200) 70%,
|
||||||
var(--invokeai-colors-base-200) 100%)`,
|
var(--invokeai-colors-base-200) 100%)`,
|
||||||
},
|
},
|
||||||
|
_disabled: {
|
||||||
|
'::-webkit-resizer': {
|
||||||
|
backgroundImage: `linear-gradient(135deg,
|
||||||
|
var(--invokeai-colors-base-50) 0%,
|
||||||
|
var(--invokeai-colors-base-50) 70%,
|
||||||
|
var(--invokeai-colors-base-200) 70%,
|
||||||
|
var(--invokeai-colors-base-200) 100%)`,
|
||||||
|
},
|
||||||
|
},
|
||||||
_dark: {
|
_dark: {
|
||||||
'::-webkit-resizer': {
|
'::-webkit-resizer': {
|
||||||
backgroundImage: `linear-gradient(135deg,
|
backgroundImage: `linear-gradient(135deg,
|
||||||
@ -21,6 +30,15 @@ const invokeAI = defineStyle((props) => ({
|
|||||||
var(--invokeai-colors-base-800) 70%,
|
var(--invokeai-colors-base-800) 70%,
|
||||||
var(--invokeai-colors-base-800) 100%)`,
|
var(--invokeai-colors-base-800) 100%)`,
|
||||||
},
|
},
|
||||||
|
_disabled: {
|
||||||
|
'::-webkit-resizer': {
|
||||||
|
backgroundImage: `linear-gradient(135deg,
|
||||||
|
var(--invokeai-colors-base-900) 0%,
|
||||||
|
var(--invokeai-colors-base-900) 70%,
|
||||||
|
var(--invokeai-colors-base-800) 70%,
|
||||||
|
var(--invokeai-colors-base-800) 100%)`,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user