Skip to content

fix(mask): keep the mask shape when printing - #4881

Open
sulimanbenhalim wants to merge 1 commit into
saadeghi:masterfrom
sulimanbenhalim:fix-mask-print
Open

sulimanbenhalim wants to merge 1 commit into
saadeghi:masterfrom
sulimanbenhalim:fix-mask-print

Conversation

@sulimanbenhalim

Copy link
Copy Markdown
Contributor

chrome skips css masks when printing with background graphics off so a mask-squircle avatar prints as a square photo and masked rating stars don't print at all
print-color-adjust: exact on .mask keeps them

print this in landscape with background graphics off: https://play.tailwindcss.com/Ru5lpwPrrn

@github-actions

Copy link
Copy Markdown

1 component changed. Basic playground: Before vs. After.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant