mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
[WEB-1208] fix: todo list item word break (#4405)
This commit is contained in:
parent
2aaf0a1637
commit
3b17dc51ba
@ -72,10 +72,16 @@ ul[data-type="taskList"] li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ul[data-type="taskList"] li > label {
|
ul[data-type="taskList"] li > label {
|
||||||
|
position: absolute;
|
||||||
|
left: -5px;
|
||||||
margin: 0.1rem 0.15rem 0 0;
|
margin: 0.1rem 0.15rem 0 0;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul[data-type="taskList"] li > div {
|
||||||
|
margin-left: 1.15rem;
|
||||||
|
}
|
||||||
|
|
||||||
ul[data-type="taskList"] li > label input[type="checkbox"] {
|
ul[data-type="taskList"] li > label input[type="checkbox"] {
|
||||||
border: 1px solid rgba(var(--color-border-300)) !important;
|
border: 1px solid rgba(var(--color-border-300)) !important;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
@ -113,7 +113,7 @@ export const CoreEditorExtensions = ({
|
|||||||
}),
|
}),
|
||||||
TaskItem.configure({
|
TaskItem.configure({
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {
|
||||||
class: "flex",
|
class: "relative",
|
||||||
},
|
},
|
||||||
nested: true,
|
nested: true,
|
||||||
}),
|
}),
|
||||||
|
@ -79,7 +79,7 @@ export const CoreReadOnlyEditorExtensions = (mentionConfig: {
|
|||||||
}),
|
}),
|
||||||
TaskItem.configure({
|
TaskItem.configure({
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {
|
||||||
class: "flex pointer-events-none",
|
class: "relative pointer-events-none",
|
||||||
},
|
},
|
||||||
nested: true,
|
nested: true,
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user