mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #16356 from Snuffleupagus/issue-16355
Update the styling of the findbar `findMsg`-element (issue 16355)
This commit is contained in:
commit
34ee77396c
2 changed files with 3 additions and 2 deletions
|
@ -129,6 +129,7 @@ class PDFFindBar {
|
|||
this.findField.setAttribute("aria-invalid", state === FindState.NOT_FOUND);
|
||||
|
||||
findMsg.then(msg => {
|
||||
this.findMsg.setAttribute("data-status", status);
|
||||
this.findMsg.textContent = msg;
|
||||
this.#adjustWidth();
|
||||
});
|
||||
|
|
|
@ -627,8 +627,8 @@ body {
|
|||
margin: 5px;
|
||||
}
|
||||
|
||||
#findMsg {
|
||||
color: rgba(251, 0, 0, 1);
|
||||
#findMsg[data-status="notFound"] {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
:is(#findResultsCount, #findMsg):empty {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue