fix: fix loading and margin issues

This commit is contained in:
sundasnoreen12
2024-06-24 13:24:41 +05:00
parent 0ebc4eb3cd
commit 751cdb1076
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ const NotificationPreferenceApp = ({ appId }) => {
>
<Collapsible.Trigger>
<div className="d-flex align-items-center">
<span className="mr-auto preference-app font-weight-bold">
<span className={classNames('mr-auto preference-app font-weight-bold', { 'mb-2': !mobileView })}>
{intl.formatMessage(messages.notificationAppTitle, { key: appId })}
</span>
</div>

View File

@@ -82,7 +82,7 @@ const NotificationPreferences = () => {
{course?.name}
</span>
</div>
{!mobileView && (
{!mobileView && !isLoading && (
<div className="d-flex flex-row justify-content-between float-right">
<div className="d-flex">
{Object.values(NOTIFICATION_CHANNELS).map((channel) => (
@@ -90,7 +90,7 @@ const NotificationPreferences = () => {
<NavItem
id={channel}
key={channel}
className={classNames('mb-3 header-label column-padding', {
className={classNames('header-label column-padding', {
'pr-0': channel === NOTIFICATION_CHANNELS[NOTIFICATION_CHANNELS.length - 1],
'mr-2': channel === 'web',
'email-channel ': channel === 'email',