Skip to content

Commit

Permalink
Avoid useless CSS animation when nothing is done (bug 1888657)
Browse files Browse the repository at this point in the history
  • Loading branch information
calixteman committed Mar 29, 2024
1 parent 55db439 commit b023767
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,7 @@ a:is(.toolbarButton, .secondaryToolbarButton)[href="#"] {
/*#endif*/

.loadingInput:has(> &.loading)::after {
display: block;
visibility: visible;

transition-property: visibility;
Expand All @@ -1128,6 +1129,7 @@ a:is(.toolbarButton, .secondaryToolbarButton)[href="#"] {
&::after {
position: absolute;
visibility: hidden;
display: none;
top: calc(50% - 8px);
width: 16px;
height: 16px;
Expand Down

0 comments on commit b023767

Please sign in to comment.