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
diff options
context:
space:
mode:
authorVinicius Reis <vinicius.reis@nextcloud.com>2022-05-09 14:55:45 +0300
committerVinicius Reis <vinicius.reis@nextcloud.com>2022-05-09 14:55:45 +0300
commitd5478ebb8fec6362a14d665c1d878032b5560d48 (patch)
treefbb717ab190cd0d89695f2da2e6bb05f634df24e
parent88453131b14a0a50539cf24764361131ba8d372b (diff)
💄 (#2371): fix css precedence
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
-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 6296dcd5d..b04a945eb 100644
--- a/src/components/EditorWrapper.vue
+++ b/src/components/EditorWrapper.vue
@@ -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%;
diff --git a/src/components/ViewerComponent.vue b/src/components/ViewerComponent.vue
index 22b8402a2..10c48a8e5 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 {