Skip to content

Commit

Permalink
fix(spacing) replace legacy vanilla spacing units with current ones
Browse files Browse the repository at this point in the history
  • Loading branch information
lorumic committed Apr 28, 2023
1 parent b5cab2c commit 577f2cd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/sass/_empty_state.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
margin-top: min(5vh, $spv--strip-regular);

.empty-state-icon {
height: $sp-xx-large;
height: 2.5rem;
margin-bottom: $spv--large;
margin-top: $spv--x-large;
width: $sp-xx-large;
width: 2.5rem;
}

h4 {
Expand Down
2 changes: 1 addition & 1 deletion src/sass/_file_row.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
align-items: center;
display: flex;
justify-content: flex-start;
padding: $sp-small;
padding: $spv--small $sph--small $spv--small $sph--small;

.file-row-toggle {
flex-grow: 1;
Expand Down
2 changes: 1 addition & 1 deletion src/sass/_pattern_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
.sidenav-toggle-wrapper {
background: $colors--dark-theme--background-default;
bottom: 0;
padding: $spv--small $sph--x-large $sp-medium $sp-medium;
padding: $spv--small $sph--x-large $spv--large $sph--large;
position: sticky;
text-align: right;

Expand Down
4 changes: 2 additions & 2 deletions src/sass/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ $border-thin: 1px solid $color-mid-light !default;
}

.u-loader {
margin: $sp-large;
margin: $spv--x-large $sph--x-large $spv--x-large $sph--x-large;
}

.p-bottom-controls {
Expand Down Expand Up @@ -185,7 +185,7 @@ $border-thin: 1px solid $color-mid-light !default;
}

.p-breadcrumbs__item:first-of-type {
margin-right: $sp-x-small;
margin-right: $sph--x-small;
}
}

Expand Down

0 comments on commit 577f2cd

Please sign in to comment.