mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
Fix AdminX preview header color bug (#18065)
refs. https://github.com/TryGhost/Product/issues/3349
This commit is contained in:
parent
f7f0f3033e
commit
fec67c8d2a
@ -152,8 +152,7 @@ export const PreviewModalContent: React.FC<PreviewModalProps> = ({
|
||||
if (previewBgColor === 'grey') {
|
||||
previewBgClass = 'bg-grey-50 dark:bg-black';
|
||||
} else if (previewBgColor === 'greygradient') {
|
||||
previewBgClass = 'bg-gradient-to-tr from-white to-[#f9f9fa]';
|
||||
previewBgClass = 'bg-gradient-to-tr from-grey-950 to-black';
|
||||
previewBgClass = 'bg-gradient-to-tr from-white to-[#f9f9fa] dark:from-grey-950 dark:to-black';
|
||||
}
|
||||
|
||||
const containerClasses = clsx(
|
||||
|
Loading…
Reference in New Issue
Block a user