Skip to content

Commit

Permalink
Merge pull request #22 from ecency/bugfix/notifications-mob-layout
Browse files Browse the repository at this point in the history
Fixed notifications mobile layout
  • Loading branch information
feruzm authored Sep 21, 2024
2 parents 5d10150 + 8dfaa96 commit e69530f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/features/shared/notifications/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function NotificationsDialog({ openLinksInNewTab = false }: Props) {
condition={({ visionFeatures }) => visionFeatures.notifications.enabled}
>
<ModalSidebar
className="notifications-modal min-w-[32rem]"
className="notifications-modal min-w-[90%] md:min-w-[32rem] [&_.ecency-sidebar]:overflow-hidden"
show={show}
setShow={(v) => {
setShow(v);
Expand Down
2 changes: 1 addition & 1 deletion src/features/ui/modal/modal-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function ModalSidebar({
x: (placement === "right" ? 1 : -1) * 320
}}
className={classNameObject({
"h-full-dynamic overflow-y-auto no-scrollbar bg-white dark:bg-dark-700 absolute w-[20rem] top-0 bottom-0":
"ecency-sidebar h-full-dynamic overflow-y-auto no-scrollbar bg-white dark:bg-dark-700 absolute w-[20rem] top-0 bottom-0":
true,
"right-0 rounded-l-2xl": placement === "right",
"left-0 rounded-r-2xl": placement === "left",
Expand Down

0 comments on commit e69530f

Please sign in to comment.