Skip to content

Commit

Permalink
fix: position fixed for the close button
Browse files Browse the repository at this point in the history
  • Loading branch information
DilaraGueler committed Feb 22, 2023
1 parent 82da5c2 commit 6fc529f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/styles/pages/productdetail/product-images.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@
.modal-content {
min-height: 100vh;
}

.modal-header {
position: fixed;
top: 1px;
left: 1px;
z-index: 1;
align-items: center;
width: calc(100vw - 2px);
min-height: 50px;
background-color: $color-inverse;
border-bottom: 1px solid $border-color-light;
}
}

.modal-dialog-scrollable {
Expand Down

0 comments on commit 6fc529f

Please sign in to comment.