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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
Vinicius Reis authored and nextcloud-command committed May 17, 2022
1 parent 4e08dce commit 70e8a53
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions js/editor-rich.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor-rich.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/files-modal.js

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

2 changes: 1 addition & 1 deletion js/files-modal.js.map

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

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/components/EditorWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,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 70e8a53

Please sign in to comment.