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-03-22 14:09:39 +0300
committerMax <max@nextcloud.com>2022-03-31 15:29:26 +0300
commitb1c27a4f1f6bc0c26d06e53e0a7678fcc5004d45 (patch)
tree4545fe68c0f991473c4192a9f1a9f68e64139435 /src
parent0cd70c0690a574259af5bea3cdc9878f876885bb (diff)
ui: tweak tables
little bit of padding on the top of the text so it is in the middle of the cell on single line cells. Use icons that are better destinguishable for delete commands. Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r--src/nodes/TableCellView.vue3
-rw-r--r--src/nodes/TableHeaderView.vue2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/nodes/TableCellView.vue b/src/nodes/TableCellView.vue
index 4e82955d5..695ed3303 100644
--- a/src/nodes/TableCellView.vue
+++ b/src/nodes/TableCellView.vue
@@ -35,7 +35,7 @@
@click="addRowAfter">
{{ t('text', 'Add row after') }}
</ActionButton>
- <ActionButton icon="icon-delete_row"
+ <ActionButton icon="icon-delete"
:close-after-click="true"
@click="deleteRow">
{{ t('text', 'Delete this row') }}
@@ -110,6 +110,7 @@ td {
.content {
flex: 1 1 0;
margin: 0;
+ padding-top: 0.6em;
}
.action-item {
diff --git a/src/nodes/TableHeaderView.vue b/src/nodes/TableHeaderView.vue
index 5c835968d..c312dbdc4 100644
--- a/src/nodes/TableHeaderView.vue
+++ b/src/nodes/TableHeaderView.vue
@@ -35,7 +35,7 @@
@click="addColumnAfter">
{{ t('text', 'Add column after') }}
</ActionButton>
- <ActionButton icon="icon-delete_col"
+ <ActionButton icon="icon-delete"
:close-after-click="true"
@click="deleteColumn">
{{ t('text', 'Delete this column') }}