Skip to content

Commit

Permalink
console: Refactor css
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaplots committed Jan 17, 2024
1 parent 5d820a5 commit 2c09cba
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions pkg/webui/console/containers/notifications/notifications.styl
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
width: 33%

&-change-button
display: flex
align-self: center
width: fit-content
margin-top: $cs.m
margin-bottom: $cs.m
color: $c.tts-primary !important
Expand All @@ -39,6 +36,7 @@
padding: $cs.m $cs.s

&-date
font-weight: $fwv2.regular
color: $c.grey-700

&.notification-selected
Expand Down Expand Up @@ -75,17 +73,16 @@
font-weight: $fwv2.semibold

+media-query($bp.s)
display: flex
gap: $cs.xs
max-width: 70%

.back-button
padding-left: 1.07rem
display: none
height: 100%
+media-query($bp.s)
display: block

.icon
font-size: 3rem

.notification-preview
height: 7rem
width: 100%
Expand Down Expand Up @@ -128,7 +125,7 @@
overflow: hidden
display: -webkit-box
-webkit-box-orient: vertical
-webkit-line-clamp: 2 /* start showing ellipsis when 2nd line is reached */
-webkit-line-clamp: 2 // Start showing ellipsis when 2nd line is reached.
white-space: pre-wrap
font-size: $fs.s

Expand Down Expand Up @@ -160,3 +157,4 @@
&.notification-selected
+media-query($bp.s)
display: block
width: 100%

0 comments on commit 2c09cba

Please sign in to comment.