Skip to content

Commit

Permalink
fix: fixed tabs scroll issue (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
sundasnoreen12 committed Mar 13, 2024
1 parent 83407b4 commit 2bba7f5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Notifications/NotificationTabs.jsx
Expand Up @@ -48,7 +48,7 @@ const NotificationTabs = () => {
eventKey={appName}
title={appName}
notification={notificationUnseenCounts[appName]}
tabClassName="pt-0 pb-10px px-2.5 d-flex border-top-0 mb-0 align-items-center line-height-24 text-capitalize"
tabClassName="pt-0 py-10px px-2.5 d-flex border-top-0 mb-0 align-items-center line-height-24 text-capitalize"
data-testid={`notification-tab-${appName}`}
>
{selectedAppName === appName && <NotificationSections />}
Expand Down
2 changes: 1 addition & 1 deletion src/Notifications/index.jsx
Expand Up @@ -97,7 +97,7 @@ const Notifications = () => {
<div ref={headerRef}>
<Popover.Title
as="h2"
className={`d-flex justify-content-between p-4 m-0 border-0 text-primary-500 zIndex-2 font-size-18
className={`d-flex justify-content-between px-4 pt-4 pb-14px m-0 border-0 text-primary-500 zIndex-2 font-size-18
line-height-24 bg-white position-sticky`}
>
{intl.formatMessage(messages.notificationTitle)}
Expand Down
12 changes: 6 additions & 6 deletions src/Notifications/notification.scss
Expand Up @@ -91,7 +91,7 @@
}

.tabs {
top: 72px;
top: 0px;
}

&.medium-screen {
Expand All @@ -103,7 +103,7 @@
}

&.popover-margin-top {
margin-top: -68px !important;
margin-top: -60px !important;
}

&.height-100vh {
Expand Down Expand Up @@ -214,12 +214,12 @@
}

.py-10px {
padding-top: 10px;
padding-bottom: 10px;
padding-top: 10px !important;
padding-bottom: 10px !important;
}

.pb-10px {
padding-bottom: 10px;
.pb-14px {
padding-bottom: 14px !important;
}

.font-size-18 {
Expand Down

0 comments on commit 2bba7f5

Please sign in to comment.