Skip to content

Commit

Permalink
Increase modal title breakpoint and prevent overflow
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Sep 29, 2022
1 parent d57e90c commit 08c3e96
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 08c3e96

Please sign in to comment.