Skip to content

Commit

Permalink
fix mobile modal issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AKCodez committed Oct 16, 2023
1 parent 8ac227d commit d3a2fb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions assets/css/devportal2022-v25.css

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions styles/_use-cases.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ $custody-logos: "Gatehub", "Bitgo";
}
}

.modal {
.modal-uses {
display: none;
position: fixed;
z-index: 1000;
Expand All @@ -159,11 +159,8 @@ $custody-logos: "Gatehub", "Bitgo";
height: 60%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
@media only screen and (max-width: 768px) {
height: fit-content;
}
overflow: scroll;
}

.modal-content-uses::before {
Expand Down
3 changes: 1 addition & 2 deletions template/page-uses.html.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,7 @@
</ul>
</section>

<div class="modal" id="myModal">

<div class="modal modal-uses" id="myModal">
<div class="modal-content-uses">
<div class="arrows-container" id="arrows-container">
<button class="arrow-button left-arrow" id="leftArrow">
Expand Down

0 comments on commit d3a2fb6

Please sign in to comment.