Skip to content

Commit

Permalink
Truncate long modal dialog (#597)
Browse files Browse the repository at this point in the history
* fix: dialog float over backdrop background
* fix: margin top and bottom
  • Loading branch information
StefanoScarpetta authored Mar 4, 2024
1 parent e6862d3 commit fce7b1c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions core/ui/src/styles/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -935,3 +935,17 @@ ul.unordered-list {
opacity: 0;
}
// fade transition end

// keep modal floating on the backdrop background
@media (min-width: $breakpoint-medium) {
.bx--modal {
align-items: start;
overflow-y: auto;
}

.bx--modal-container {
max-height: none;
margin-top: 120px;
margin-bottom: 120px;
}
}

0 comments on commit fce7b1c

Please sign in to comment.