Skip to content

Commit 2bba7f5

Browse files
fix: fixed tabs scroll issue (#559)
1 parent 83407b4 commit 2bba7f5

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/Notifications/NotificationTabs.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const NotificationTabs = () => {
4848
eventKey={appName}
4949
title={appName}
5050
notification={notificationUnseenCounts[appName]}
51-
tabClassName="pt-0 pb-10px px-2.5 d-flex border-top-0 mb-0 align-items-center line-height-24 text-capitalize"
51+
tabClassName="pt-0 py-10px px-2.5 d-flex border-top-0 mb-0 align-items-center line-height-24 text-capitalize"
5252
data-testid={`notification-tab-${appName}`}
5353
>
5454
{selectedAppName === appName && <NotificationSections />}

src/Notifications/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const Notifications = () => {
9797
<div ref={headerRef}>
9898
<Popover.Title
9999
as="h2"
100-
className={`d-flex justify-content-between p-4 m-0 border-0 text-primary-500 zIndex-2 font-size-18
100+
className={`d-flex justify-content-between px-4 pt-4 pb-14px m-0 border-0 text-primary-500 zIndex-2 font-size-18
101101
line-height-24 bg-white position-sticky`}
102102
>
103103
{intl.formatMessage(messages.notificationTitle)}

src/Notifications/notification.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
}
9292

9393
.tabs {
94-
top: 72px;
94+
top: 0px;
9595
}
9696

9797
&.medium-screen {
@@ -103,7 +103,7 @@
103103
}
104104

105105
&.popover-margin-top {
106-
margin-top: -68px !important;
106+
margin-top: -60px !important;
107107
}
108108

109109
&.height-100vh {
@@ -214,12 +214,12 @@
214214
}
215215

216216
.py-10px {
217-
padding-top: 10px;
218-
padding-bottom: 10px;
217+
padding-top: 10px !important;
218+
padding-bottom: 10px !important;
219219
}
220220

221-
.pb-10px {
222-
padding-bottom: 10px;
221+
.pb-14px {
222+
padding-bottom: 14px !important;
223223
}
224224

225225
.font-size-18 {

0 commit comments

Comments
 (0)