diff --git a/css/tiptap.css b/css/tiptap.css index a84212a3db..fb9e9d9484 100644 --- a/css/tiptap.css +++ b/css/tiptap.css @@ -2,20 +2,20 @@ * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ -.tiptap-wrapper div[contenteditable=true] { +.tables-tiptap-wrapper div[contenteditable=true] { width: 100% !important; min-height: 150px; } -.tiptap-wrapper .is-active { +.tables-tiptap-wrapper .is-active { background-color: var(--color-primary) !important; } -.tiptap-wrapper { +.tables-tiptap-wrapper { width: 100%; } -.tiptap-wrapper .menuBar button { +.tables-tiptap-wrapper .menuBar button { position: relative; width: 35px; height: 35px; @@ -29,10 +29,10 @@ vertical-align: top; } -.tiptap-wrapper .menuBar button:hover, .tiptap-wrapper .menuBar button:focus, .tiptap-wrapper .menuBar button:active { +.tables-tiptap-wrapper .menuBar button:hover, .tables-tiptap-wrapper .menuBar button:focus, .tables-tiptap-wrapper .menuBar button:active { background-color: var(--color-background-dark); } -.tiptap-wrapper em, .tabulator-cell em { +.tables-tiptap-wrapper em, .tabulator-cell em { font-style: italic; } diff --git a/src/pages/Context.vue b/src/pages/Context.vue index 6bc84a53d9..37b091943b 100644 --- a/src/pages/Context.vue +++ b/src/pages/Context.vue @@ -235,4 +235,8 @@ export default { padding-left: 0px; } } +:deep(h1) { + font-size: unset; + font-size: revert; +} diff --git a/src/pages/Table.vue b/src/pages/Table.vue index 4c0255cf77..cd1fcee6c7 100644 --- a/src/pages/Table.vue +++ b/src/pages/Table.vue @@ -47,6 +47,11 @@ export default { min-width: var(--app-content-width, 100%); } +:deep(h1) { + font-size: unset; + font-size: revert; +} + @page { size: auto; margin: 5mm; diff --git a/src/pages/View.vue b/src/pages/View.vue index 844be25c74..318b43e7f6 100644 --- a/src/pages/View.vue +++ b/src/pages/View.vue @@ -41,4 +41,8 @@ export default { width: max-content; min-width: var(--app-content-width, 100%); } +:deep(h1) { + font-size: unset; + font-size: revert; +} diff --git a/src/shared/components/ncTable/partials/TableCellHtml.vue b/src/shared/components/ncTable/partials/TableCellHtml.vue index e4e18361d8..6fa6e39ace 100644 --- a/src/shared/components/ncTable/partials/TableCellHtml.vue +++ b/src/shared/components/ncTable/partials/TableCellHtml.vue @@ -3,7 +3,7 @@ - SPDX-License-Identifier: AGPL-3.0-or-later -->