Skip to content

Commit

Permalink
fix(css): spacing issue in table
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Trovic <luka@nextcloud.com>
  • Loading branch information
luka-nextcloud committed Jul 29, 2024
1 parent 5fc8a93 commit 6a8eef4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/css/prosemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@use 'sass:selector';

/**
*
*
*/
div.ProseMirror {
height: 100%;
Expand Down Expand Up @@ -337,12 +337,13 @@ div.ProseMirror {
border-left: 0;
vertical-align: top;
max-width: 100%;
line-height: var(--default-clickable-area);
&:first-child {
border-left: 1px solid var(--table-color-border);
}
}
td {
padding: 0.5em 0.75em;
padding: 0 0 0 0.75em;
border-top: 0;
color: var(--color-main-text);
}
Expand Down
2 changes: 0 additions & 2 deletions src/nodes/Table/TableCellView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,11 @@ td {
.container {
display: flex;
flex-wrap: wrap;
min-height: 36px;
}
.content {
flex: 1 1 0;
margin: 0;
padding-top: 0.6em;
}
.action-item {
Expand Down
1 change: 0 additions & 1 deletion src/nodes/Table/TableHeaderView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ th {
.content {
margin: 0;
padding-top: 0.75em;
flex-grow: 1;
}
.action-item {
Expand Down

0 comments on commit 6a8eef4

Please sign in to comment.