Skip to content

Commit

Permalink
Merge pull request #1164 from nextcloud/fix/dont-mess-with-global-styles
Browse files Browse the repository at this point in the history
fix: Do not mess with all NcModal styles - scope styles to wizard
  • Loading branch information
susnux authored Apr 13, 2024
2 parents fe8118f + c119a18 commit 4fc9c28
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion css/firstrunwizard-main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/main-rS92LHob.mjs.map

Large diffs are not rendered by default.

16 changes: 9 additions & 7 deletions src/views/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ watchEffect(() => {
* Global styles to override vue component styles of the modal
*/

.modal-wrapper {
.first-run-wizard .modal-wrapper {
.modal-container {
overflow: hidden;

Expand All @@ -126,13 +126,15 @@ watchEffect(() => {
}

@media only screen and (max-width: 512px) {
.modal-wrapper .modal-container {
height: 100dvh;
top: 0;
}
.first-run-wizard {
.modal-wrapper .modal-container {
height: 100dvh;
top: 0;
}

.modal-header {
pointer-events: none;
.modal-header {
pointer-events: none;
}
}
}
</style>

0 comments on commit 4fc9c28

Please sign in to comment.