Skip to content

Commit

Permalink
fix invalid usage of $block-gap
Browse files Browse the repository at this point in the history
since it's now a css variable
  • Loading branch information
ornicar committed Mar 19, 2024
1 parent 328cd8a commit 656ec63
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion ui/round/css/_app-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@

@include mq-is-col2-squeeze {
grid-template-columns: $col2-uniboard-squeeze-width $col2-uniboard-squeeze-table;
grid-column-gap: #{$block-gap * 3 / 2};
}

&__board {
Expand Down
4 changes: 2 additions & 2 deletions ui/round/css/_meta.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

section:not(:last-child) {
border-bottom: $border;
margin-bottom: #{$block-gap * 2 / 3};
padding-bottom: #{$block-gap * 2 / 3};
margin-bottom: 0.8rem;
padding-bottom: 0.8rem;
}

&__infos {
Expand Down
2 changes: 1 addition & 1 deletion ui/simul/css/_side.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $chat-height: calc(90vh - 300px);
@extend %box-neat-force;

background: $c-bg-box;
padding: #{$block-gap * 0.6} $block-gap;
padding: 1.5rem $block-gap;

.header {
@extend %flex-center;
Expand Down
2 changes: 1 addition & 1 deletion ui/swiss/css/_app-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

position: relative;
min-height: 7em;
padding: 0 #{$block-gap * 1.5};
padding: 0 2rem;

h1 {
font-size: 2.2rem;
Expand Down
2 changes: 1 addition & 1 deletion ui/swiss/css/_side.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@extend %box-neat-force;

background: $c-bg-box;
padding: #{$block-gap * 0.6} $block-gap;
padding: 1.5rem $block-gap;

section {
margin-bottom: $block-gap;
Expand Down
2 changes: 1 addition & 1 deletion ui/tournament/css/_app-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

position: relative;
min-height: 7em;
padding: 0 #{$block-gap * 1.5};
padding: 0 2rem;

h1 {
font-size: 2.2rem;
Expand Down
2 changes: 1 addition & 1 deletion ui/tournament/css/_side.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@extend %box-neat-force;

background: $c-bg-box;
padding: #{$block-gap * 0.6} $block-gap;
padding: 1.5rem $block-gap;

section {
margin-bottom: $block-gap;
Expand Down

0 comments on commit 656ec63

Please sign in to comment.