Skip to content

Commit

Permalink
fix(icon): fix the clipboard icon on safari ios (#10762)
Browse files Browse the repository at this point in the history
* fix(icon): fix the clipboard icon on safari ios

Only happens on iOS. Seems like a newly added default style.
Setting padding to 0 resolves the issue.

* lint
  • Loading branch information
fiji-flo authored Mar 21, 2024
1 parent 6d989e4 commit f4b6be2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/document/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,7 @@ pre {
margin-top: -0.1rem;
mask-image: url("../assets/clippy.svg");
mask-size: cover;
padding: 0;
width: 1rem;

&:hover,
Expand Down

0 comments on commit f4b6be2

Please sign in to comment.