Skip to content

Commit

Permalink
Merge pull request #3311 from nextcloud/fix/modal-title
Browse files Browse the repository at this point in the history
Increase modal title breakpoint and prevent overflow
  • Loading branch information
szaimen authored Sep 29, 2022
2 parents 82f8887 + 08c3e96 commit 62bd339
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/NcModal/NcModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ export default {
justify-content: center;
width: 100%;
height: $header-height;
overflow: hidden;
transition: opacity 250ms,
visibility 250ms;
Expand All @@ -756,7 +757,7 @@ export default {
}
// On wider screens the title can be centered
@media only screen and (min-width: math.div($breakpoint-mobile, 2)) {
@media only screen and (min-width: $breakpoint-mobile) {
.modal-title {
padding-left: #{$clickable-area * 3}; // maximum actions is 3
text-align: center;
Expand Down

0 comments on commit 62bd339

Please sign in to comment.