editable-text: Correctly match ::after to text position
Fixes a rare mismatch that adds an extra line when that one pixel counts.
This commit is contained in:
parent
1f3c65a504
commit
bfec26f3cf
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ editable-text {
|
|||
&:not([nowrap])::after {
|
||||
content: attr(value) ' ';
|
||||
visibility: hidden;
|
||||
margin: 1px;
|
||||
margin-inline-start: 1px;
|
||||
margin-top: 1px;
|
||||
padding: var(--editable-text-padding-block) var(--editable-text-padding-inline);
|
||||
font: inherit;
|
||||
line-height: inherit;
|
||||
|
|
Loading…
Reference in a new issue