Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinicius Reis <vinicius.reis@nextcloud.com>2022-05-09 14:55:45 +0300
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-05-17 16:52:12 +0300
commit70e8a5384a21a957721c4e0c2751d1a6d2cf54ef (patch)
treeaa23c018159cce606cb6b2cd769e14fa3e1cb262 /src
parent4e08dce97d202ae552be72263c29bfa88c47ce45 (diff)
💄 (#2371): fix css precedencebackport/2373/stable24
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/EditorWrapper.vue5
-rw-r--r--src/components/ViewerComponent.vue5
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/EditorWrapper.vue b/src/components/EditorWrapper.vue
index 65cde179e..18b256cc7 100644
--- a/src/components/EditorWrapper.vue
+++ b/src/components/EditorWrapper.vue
@@ -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%;
diff --git a/src/components/ViewerComponent.vue b/src/components/ViewerComponent.vue
index c31b095ad..0049a730f 100644
--- a/src/components/ViewerComponent.vue
+++ b/src/components/ViewerComponent.vue
@@ -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 {