Skip to content

Commit

Permalink
fix: fix sticky button
Browse files Browse the repository at this point in the history
  • Loading branch information
salimtb committed Jun 11, 2024
1 parent bd9724e commit 0632096
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ui/components/multichain/network-list-menu/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@
max-height: 100%;
overflow: auto;
}

.sticky-button-container {
position: sticky;
bottom: 0;
}

Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,9 @@ export const NetworkListMenu = ({ onClose }) => {
className="sticky-button-container"
backgroundColor={BackgroundColor.backgroundDefault}
textAlign={TextAlign.Center}
padding={4}
paddingTop={4}
paddingRight={4}
paddingLeft={4}
>
<ButtonSecondary
size={ButtonSecondarySize.Lg}
Expand Down

0 comments on commit 0632096

Please sign in to comment.