Skip to content

Commit 274d0f6

Browse files
committed
fix(edit-content): hide sidebar shadow when collapsed
Apply the left-cast shadow only when the sidebar is not inert so it stops bleeding into the body area while the sidebar is off-screen.
1 parent 6982d3f commit 274d0f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core-web/libs/edit-content/src/lib/components/dot-edit-content-sidebar/dot-edit-content-sidebar.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import { DotEditContentStore } from '../../store/edit-content.store';
6262
],
6363
changeDetection: ChangeDetectionStrategy.OnPush,
6464
host: {
65-
class: 'flex w-[21.875rem] h-full flex-col items-start border-l border-[var(--gray-400)] shadow-[-4px_0_12px_rgba(0,0,0,0.08)] relative min-w-0 overflow-x-hidden'
65+
class: 'flex w-[21.875rem] h-full flex-col items-start border-l border-[var(--gray-400)] [&:not([inert])]:shadow-[-4px_0_12px_rgba(0,0,0,0.08)] relative min-w-0 overflow-x-hidden'
6666
}
6767
})
6868
export class DotEditContentSidebarComponent {

0 commit comments

Comments
 (0)