Skip to content

Commit

Permalink
Merge pull request #3074 from nextcloud/fix/3069/table-settings-butto…
Browse files Browse the repository at this point in the history
…n-shifted-in-chromeium

Fix: table settings button
  • Loading branch information
Vinicius Reis authored Oct 3, 2022
2 parents d654e08 + 1847ca8 commit 6111e80
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 23 deletions.
4 changes: 2 additions & 2 deletions js/editor-rich.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor-rich.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/files-modal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/files-modal.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

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>

0 comments on commit 6111e80

Please sign in to comment.