Skip to content

Commit

Permalink
Correct spacings of buttons between each other.
Browse files Browse the repository at this point in the history
  • Loading branch information
HDinger authored and oliverguenther committed Aug 21, 2023
1 parent 7046f97 commit f134a97
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion frontend/src/app/spot/styles/sass/components/action-bar.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
display: grid
grid-template-columns: 1fr
background-color: $spot-color-basic-gray-6
padding: 0 $spot-spacing-1

a.button
text-decoration: none
Expand All @@ -19,7 +20,13 @@
margin-top: -$spot-spacing-0_25

> .spot-action-bar--action
margin: $spot-spacing-1 $spot-spacing-1 $spot-spacing-0-75 $spot-spacing-1
// We need to set the margins on the buttons itself because
// an empty action bar would take unnecessary space if we put the padding there.
// see #47994 and #49729
margin: $spot-spacing-1 $spot-spacing-1 $spot-spacing-0-75 0

&:last-of-type
margin-right: 0

@media #{$spot-mq-action-bar-change}
grid-template-columns: 1fr auto
Expand Down

0 comments on commit f134a97

Please sign in to comment.