Skip to content

Commit

Permalink
Correcting display of accordion toggles
Browse files Browse the repository at this point in the history
  • Loading branch information
Fancien committed Nov 20, 2023
1 parent 1985fdd commit cdd02ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions notification/static/notification/css/notification.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
.accordion-toggle {
position: absolute;
right: 15px;
bottom: 0.5rem;

& i.material-icons {
font-size: 36px;
Expand Down
10 changes: 4 additions & 6 deletions web/static/vendor/components/notification/notification_card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,10 @@ const NotificationHeader = ({className, category, newNotifications, showDismissN
}
</div>
<div className={"accordion-toggle"}>
<h1>
{isCollapsed ?
<i className={"material-icons"}>expand_less</i> :
<i className={"material-icons"}>expand_more</i>
}
</h1>
{isCollapsed ?
<i className={"material-icons"}>expand_less</i> :
<i className={"material-icons"}>expand_more</i>
}
</div>
</div>
);
Expand Down

0 comments on commit cdd02ca

Please sign in to comment.