0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Fixed dark header issue for Admin-X (#18584)

closes #18579

* added the bg-black class for the header div conditionally for dark mode
This commit is contained in:
Adarsh Shrivastav 2023-10-13 13:08:53 +05:30 committed by GitHub
parent 7d493d61db
commit d47863940c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ const MainContent: React.FC = () => {
{/* Sidebar */}
<div className="sticky top-[-47px] z-30 min-w-[260px] grow-0 md:top-[-52px] tablet:fixed tablet:top-[8vmin] tablet:basis-[260px]">
<div className='-mx-6 h-[84px] bg-white px-6 tablet:m-0 tablet:bg-transparent tablet:p-0'>
<div className='-mx-6 h-[84px] bg-white px-6 dark:bg-black tablet:m-0 tablet:bg-transparent tablet:p-0'>
<Heading>Settings</Heading>
</div>
<div className="relative mt-[-32px] w-full overflow-x-hidden bg-white dark:bg-black">