fix(editor): list styling

This commit is contained in:
kolaente 2023-06-20 11:44:49 +02:00
parent 63865028b8
commit e716fd1bf9
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 15 additions and 6 deletions

View File

@ -316,8 +316,8 @@ onBeforeUnmount(() => editor.value?.destroy())
}
}
/* Table-specific styling */
.ProseMirror {
/* Table-specific styling */
table {
border-collapse: collapse;
table-layout: fixed;
@ -371,6 +371,20 @@ onBeforeUnmount(() => editor.value?.destroy())
margin: 0;
}
}
// Lists
ul {
margin-left: .5rem;
margin-top: 0 !important;
li {
margin-top: 0;
}
p {
margin-bottom: 0 !important;
}
}
}
.tableWrapper {
@ -387,11 +401,6 @@ ul[data-type="taskList"] {
list-style: none;
padding: 0;
margin-left: 0;
margin-top: 0;
p {
margin-bottom: 0 !important;
}
li {
display: flex;