[WEB-4470] fix: sidebar custom theme bg (#7379)
This commit is contained in:
parent
1cb49cacae
commit
4d0a7e4658
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ export const ExtendedSidebarWrapper: FC<Props> = observer((props) => {
|
||||||
id={excludedElementId}
|
id={excludedElementId}
|
||||||
ref={extendedSidebarRef}
|
ref={extendedSidebarRef}
|
||||||
className={cn(
|
className={cn(
|
||||||
`absolute h-full z-[19] flex flex-col py-2 transform transition-all duration-300 ease-in-out bg-custom-background-100 border-r border-custom-sidebar-border-200 p-4 shadow-sm`,
|
`absolute h-full z-[19] flex flex-col py-2 transform transition-all duration-300 ease-in-out bg-custom-sidebar-background-100 border-r border-custom-sidebar-border-200 p-4 shadow-sm`,
|
||||||
{
|
{
|
||||||
"translate-x-0 opacity-100": isExtendedSidebarOpened,
|
"translate-x-0 opacity-100": isExtendedSidebarOpened,
|
||||||
[`-translate-x-[${EXTENDED_SIDEBAR_WIDTH}px] opacity-0 hidden`]: !isExtendedSidebarOpened,
|
[`-translate-x-[${EXTENDED_SIDEBAR_WIDTH}px] opacity-0 hidden`]: !isExtendedSidebarOpened,
|
||||||
|
|
|
||||||
|
|
@ -257,7 +257,7 @@ export function ResizableSidebar({
|
||||||
>
|
>
|
||||||
<aside
|
<aside
|
||||||
className={cn(
|
className={cn(
|
||||||
"group/sidebar h-full w-full bg-custom-background-100 overflow-hidden relative flex flex-col z-20 pt-4",
|
"group/sidebar h-full w-full bg-custom-sidebar-background-100 overflow-hidden relative flex flex-col z-20 pt-4",
|
||||||
"self-center border-r border-custom-sidebar-border-200 rounded-md rounded-tl-none rounded-bl-none",
|
"self-center border-r border-custom-sidebar-border-200 rounded-md rounded-tl-none rounded-bl-none",
|
||||||
isAnyExtendedSidebarExpanded && "rounded-none"
|
isAnyExtendedSidebarExpanded && "rounded-none"
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue