Skip to content

Commit

Permalink
Merge pull request #4897 from nextcloud-libraries/fix/modal-styles
Browse files Browse the repository at this point in the history
fix(NcDialog): Increase specificity for modal-content selector
  • Loading branch information
ShGKme authored Nov 30, 2023
2 parents eee1bb8 + bb54cd2 commit 5cc6c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NcDialog/NcDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export default defineComponent({
overflow: hidden;

&__modal {
:deep(.modal-container) {
:deep(.modal-wrapper .modal-container) {
display: flex !important;
padding-block: 4px 8px; // 4px to align with close button, 8px block-end to allow the actions a margin of 4px for the focus visible outline
padding-inline: 12px 8px; // Same as with padding-block, we need the actions to have a margin of 4px for the button outline
Expand Down

0 comments on commit 5cc6c04

Please sign in to comment.