Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
🐛 (#3069): fix table settings button
Signed-off-by: Vinicius Reis <[email protected]>
  • Loading branch information
Vinicius Reis committed Oct 2, 2022
commit caf4775cc9c4bf7fe6a03e592cef60a104dab2fc
9 changes: 7 additions & 2 deletions src/nodes/Table/TableView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

<template>
<NodeViewWrapper data-text-el="table-view" class="table-wrapper">
<NodeViewContent class="content" as="table" />
<NcActions v-if="editor.isEditable"
force-menu
data-text-table-actions="settings"
Expand All @@ -39,6 +38,7 @@
{{ t('text', 'Delete this table') }}
</NcActionButton>
</NcActions>
<NodeViewContent class="content" as="table" />
<div class="clearfix" />
</NodeViewWrapper>
</template>
Expand Down Expand Up @@ -75,6 +75,9 @@ export default {
</script>

<style scoped lang="scss">
.table-wrapper {
position: relative;
}

.clearfix {
clear: both;
Expand All @@ -87,10 +90,12 @@ table {
.table-settings {
padding-left: 3px;
opacity: .5;
position: absolute;
top: 0;
right: 3px;

&:hover {
opacity: 1;
}
}

</style>