mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #17855 from calixteman/bug1888657
Avoid useless CSS animation when nothing is done (bug 1888657)
This commit is contained in:
commit
26466b50bc
1 changed files with 3 additions and 0 deletions
|
@ -501,6 +501,7 @@ body {
|
|||
font-style: normal;
|
||||
}
|
||||
.loadingInput:has(> &[data-status="pending"])::after {
|
||||
display: block;
|
||||
visibility: visible;
|
||||
}
|
||||
&[data-status="notFound"] {
|
||||
|
@ -1117,6 +1118,7 @@ a:is(.toolbarButton, .secondaryToolbarButton)[href="#"] {
|
|||
/*#endif*/
|
||||
|
||||
.loadingInput:has(> &.loading)::after {
|
||||
display: block;
|
||||
visibility: visible;
|
||||
|
||||
transition-property: visibility;
|
||||
|
@ -1128,6 +1130,7 @@ a:is(.toolbarButton, .secondaryToolbarButton)[href="#"] {
|
|||
&::after {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
display: none;
|
||||
top: calc(50% - 8px);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue