Skip to content

Commit

Permalink
Fix sticky footer UI issue on Snaps Home Page in extended view
Browse files Browse the repository at this point in the history
  • Loading branch information
david0xd committed Oct 14, 2024
1 parent f9ec0e0 commit c06ed75
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ui/components/app/snaps/snap-ui-renderer/index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
@use "design-system";

.snap-ui-renderer {
$width-screen-sm-min: 85vw;
$width-screen-md-min: 80vw;
$width-screen-lg-min: 62vw;

&__content {
margin-bottom: 0 !important;
}
Expand Down Expand Up @@ -69,5 +75,17 @@

&__footer {
margin-top: auto;

@include design-system.screen-sm-min {
max-width: $width-screen-sm-min;
}

@include design-system.screen-md-min {
max-width: $width-screen-md-min;
}

@include design-system.screen-lg-min {
max-width: $width-screen-lg-min;
}
}
}

0 comments on commit c06ed75

Please sign in to comment.