🐛(frontend) fix selection click past end of content

On Chrome, when we click at the end of a line,
the cursor is placed at the beginning of the line.
We fix this behavior, now the cursor is placed
at the end of the line.
This commit is contained in:
Anthony LC
2025-04-03 23:56:29 +02:00
committed by Anthony LC
parent c11d59c434
commit 8c0c3c2f44
5 changed files with 19 additions and 11 deletions

View File

@@ -105,6 +105,12 @@ export const cssEditor = (readonly: boolean) => css`
padding: 2px;
border-radius: 4px;
}
& .bn-inline-content {
width: 100%;
}
.bn-block-content[data-content-type='checkListItem'] > div {
width: 100%;
}
@media screen and (width <= 768px) {
& .bn-editor {