Skip to content

Commit

Permalink
fix: fix loading and margin issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sundasnoreen12 committed Jun 24, 2024
1 parent 0ebc4eb commit b5d88a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/notification-preferences/NotificationPreferenceApp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 })}>

Check failure on line 38 in src/notification-preferences/NotificationPreferenceApp.jsx

View workflow job for this annotation

GitHub Actions / tests (lint)

Strings must use singlequote
{intl.formatMessage(messages.notificationAppTitle, { key: appId })}
</span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/notification-preferences/NotificationPreferences.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ 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) => (
<div className={classNames('d-flex flex-column channel-column')}>
<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',
Expand Down

0 comments on commit b5d88a6

Please sign in to comment.