Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 0 additions & 3 deletions src/css/prosemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -344,18 +344,15 @@ 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 0 0 0.75em;
border-top: 0;
color: var(--color-main-text);
}
th {
padding: 0 0 0 0.75em;
font-weight: normal;
border-bottom-color: var(--table-color-heading-border);
color: var(--table-color-heading);
Expand Down
1 change: 1 addition & 0 deletions src/nodes/Table/TableCellView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ td {
.content {
flex: 1 1 0;
margin: 0;
padding: calc((var(--default-clickable-area) - var(--default-font-size) * 1.5) / 2) 0.75em;
}

.action-item {
Expand Down
5 changes: 5 additions & 0 deletions src/nodes/Table/TableHeaderView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,17 @@
</script>

<style scoped lang="scss">
div[contenteditable=true] th .content {

Check warning on line 183 in src/nodes/Table/TableHeaderView.vue

View check run for this annotation

Codecov / codecov/patch

src/nodes/Table/TableHeaderView.vue#L183

Added line #L183 was not covered by tests
padding-right: 0;
}
th {

.content {
margin: 0;
flex-grow: 1;
padding: calc((var(--default-clickable-area) - var(--default-font-size) * 1.5) / 2) 0.75em;
}

.action-item {
opacity: 50%;
}
Expand Down
Loading