Skip to content

Commit

Permalink
console: Remove unnecessary styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaplots committed Jan 17, 2024
1 parent e6b5607 commit 9ee472f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 24 deletions.
2 changes: 1 addition & 1 deletion pkg/webui/components/header/header.styl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

.notifications-dropdown
max-width: 31rem
width: 31rem
width: 31rem // Avoids flash of small container when dropdown is opened
padding: 0

.logo
Expand Down
2 changes: 1 addition & 1 deletion pkg/webui/console/containers/header/header.styl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
font-size: $fs.l
padding: 1.5rem 1.25rem
border-bottom: 1px solid $c.grey-200
margin-bottom: 0 !important
margin-bottom: 0
font-weight: $fw.bold

.link
Expand Down
4 changes: 2 additions & 2 deletions pkg/webui/console/containers/header/notifications-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ const NotificationsDropdown = () => {

return (
<React.Fragment>
<li className={style.header}>
<div className={style.header}>
<span>
<Message content={sharedMessages.notifications} />{' '}
<Message className="c-grey-500 fw-normal fs-m" content={`(${totalNotifications})`} />
</span>
</li>
</div>
{notificationItems.map(notification => (
<Link
to="/notifications"
Expand Down
6 changes: 3 additions & 3 deletions pkg/webui/console/containers/notifications/notifications.styl
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@
gap: $cs.s

+media-query($bp.s)
max-width: fit-content !important
max-width: fit-content

&-title
font-weight: $fwv2.semibold

+media-query($bp.s)
max-width: 70% !important
max-width: 70%

.back-button
display: none
Expand Down Expand Up @@ -155,7 +155,7 @@
+media-query($bp.s)
display: none
height: 88vh
margin: 0 !important
margin: 0

&.notification-selected
+media-query($bp.s)
Expand Down
17 changes: 0 additions & 17 deletions pkg/webui/console/views/notifications/notifications.styl

This file was deleted.

0 comments on commit 9ee472f

Please sign in to comment.