Merge pull request #13324 from Snuffleupagus/textLayer-br-style

Fix highlighting of search results when the `textLayer` contains `br`-elements (PR 13257 follow-up, issue 13323)
This commit is contained in:
Tim van der Meij 2021-05-02 20:35:59 +02:00 committed by GitHub
commit f0817015bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,8 @@
bottom: 0;
line-height: 1;
}
.textLayer span {
.textLayer span,
.textLayer br {
position: absolute;
white-space: pre;
-webkit-transform-origin: 0% 0%;

View File

@ -24,7 +24,8 @@
line-height: 1;
}
.textLayer span {
.textLayer span,
.textLayer br {
color: transparent;
position: absolute;
white-space: pre;