Skip to content

Commit

Permalink
Add placeholder loading animation to expand button
Browse files Browse the repository at this point in the history
Increases the scope of the selector to target all turbo frames, not only the lazy loading turbo frames, in the collection context sidebar.
  • Loading branch information
taylor-steve committed May 8, 2024
1 parent 713f161 commit 86bac24
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ $hierarchy-view-collapse-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3
display: none;
}

turbo-frame[loading]:not([complete]) {
&::after {
turbo-frame[busy] {
&::before {
@extend .placeholder !optional;
animation: placeholder-glow 2s ease-in-out infinite;
content: 'Loading...';
Expand Down

0 comments on commit 86bac24

Please sign in to comment.