Skip to content

Commit

Permalink
attempt to optimize merch-card performance
Browse files Browse the repository at this point in the history
  • Loading branch information
yesil committed Oct 7, 2024
1 parent 1bdfd4a commit eb0de2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/blocks/merch-card/merch-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ div[class*="-merch-card"] > div,
grid-column: 1 / -1;
}

merch-card {
content-visibility: auto;
}

merch-card .action-area, merch-card div[slot="footer"] > p {
display: contents;
}
Expand Down

0 comments on commit eb0de2f

Please sign in to comment.