mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Fix find highlighting regression from #13306.
When we insert extra spans for highlighting we want them to be positioned normally instead of absolute or relative. Fixes #13345.
This commit is contained in:
parent
3456ed271b
commit
1da42e8b8e
2 changed files with 5 additions and 2 deletions
|
@ -34,13 +34,16 @@
|
|||
}
|
||||
|
||||
.textLayer .highlight {
|
||||
position: relative;
|
||||
margin: -1px;
|
||||
padding: 1px;
|
||||
background-color: rgba(180, 0, 170, 1);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.textLayer .highlight.appended {
|
||||
position: initial;
|
||||
}
|
||||
|
||||
.textLayer .highlight.begin {
|
||||
border-radius: 4px 0 0 4px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue