Skip to content

Commit

Permalink
style: mixin shared CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
aziolek committed Aug 6, 2024
1 parent 4dbd889 commit 364d044
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
}

.connectWalletImage {
height: 8.2rem;

@media #{$desktop-up} {
height: 11.3rem;
}
@include tipTileConnectWalletImage();
}

.withdrawImage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,5 @@
}

.connectWalletImage {
height: 8.2rem;

@media #{$desktop-up} {
height: 11.3rem;
}
@include tipTileConnectWalletImage();
}
8 changes: 8 additions & 0 deletions client/src/styles/utils/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,11 @@
min-width: 39rem;
max-width: 70rem + $layoutMarginHorizontal * 2;
}

@mixin tipTileConnectWalletImage() {
height: 8.2rem;

@media #{$desktop-up} {
height: 11.3rem;
}
}

0 comments on commit 364d044

Please sign in to comment.