Skip to content

Commit

Permalink
πŸ’„ (#2371): fix css precedence
Browse files Browse the repository at this point in the history
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
  • Loading branch information
Vinicius Reis committed May 9, 2022
1 parent 8845313 commit d5478eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions src/components/EditorWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,11 @@ export default {
</script>

<style scoped lang="scss">
.modal-container #editor-container {
top: 0;
height: calc(100vh - var(--header-height));
}

#editor-container {
display: block;
width: 100%;
Expand Down
5 changes: 0 additions & 5 deletions src/components/ViewerComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ export default {
}
</script>
<style lang="scss">
#editor-container {
top: 0;
height: calc(100vh - var(--header-height));
}

@media only screen and (max-width: 512px) {
// on mobile, modal-container has top: 50px
#editor-container {
Expand Down

0 comments on commit d5478eb

Please sign in to comment.