Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pog, IconButton: bugfix for rotated icons on iPhone #2730

Merged
merged 1 commit into from
Mar 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/gestalt/src/Pog.css
Expand Up @@ -3,6 +3,10 @@
composes: flex from "./Layout.css";
composes: xsItemsCenter from "./Layout.css";
composes: justifyCenter from "./Layout.css";

/* This fixes a mobile Safari bug (device only) that makes the icon disappear when rotated for RTL support
https://stackoverflow.com/a/28617071/5253702 */
perspective: 1px;
}

.focused {
Expand Down