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:
authorMax <max@nextcloud.com>2022-04-11 12:18:35 +0300
committermax-nextcloud (Rebase PR Action) <max-nextcloud@users.noreply.github.com>2022-04-11 13:32:16 +0300
commit2df7c7a845db9d2d14f4dcf3c0b0fa4e60b3afd6 (patch)
tree9b011a6f27b1a01cce09be6088d647352bf30b5c /src
parent8f2e26dfdf5511f72f63800f3a5d45a575f82461 (diff)
fix: clear float after table
Make sure the following text does not start next to the table. Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r--src/nodes/TableView.vue8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nodes/TableView.vue b/src/nodes/TableView.vue
index 0bfe30d70..80b49e3fc 100644
--- a/src/nodes/TableView.vue
+++ b/src/nodes/TableView.vue
@@ -21,7 +21,7 @@
-->
<template>
- <NodeViewWrapper>
+ <NodeViewWrapper class="table-wrapper">
<NodeViewContent class="content" as="table" />
<Actions :force-menu="true"
class="table-settings"
@@ -32,6 +32,7 @@
{{ t('text', 'Delete this table') }}
</ActionButton>
</Actions>
+ <div class="clearfix" />
</NodeViewWrapper>
</template>
@@ -66,6 +67,10 @@ export default {
<style scoped lang="scss">
+.clearfix {
+ clear: both;
+}
+
table {
float: left;
}
@@ -78,4 +83,5 @@ table {
opacity: 1;
}
}
+
</style>