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:
commit
f0817015bd
@ -23,7 +23,8 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
.textLayer span {
|
.textLayer span,
|
||||||
|
.textLayer br {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
-webkit-transform-origin: 0% 0%;
|
-webkit-transform-origin: 0% 0%;
|
||||||
|
@ -24,7 +24,8 @@
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textLayer span {
|
.textLayer span,
|
||||||
|
.textLayer br {
|
||||||
color: transparent;
|
color: transparent;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user