Created
May 14, 2024 18:44
-
-
Save jamiemarsland/583a33fbec759dd07896b8ba76a5451e to your computer and use it in GitHub Desktop.
Remove negative margins on mobile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (max-width: 768px) { | |
[style*="margin-top:-"] { margin-top: 0 !important } | |
[style*="margin-right:-"] { margin-right: 0 !important } | |
[style*="margin-bottom:-"] { margin-bottom: 0 !important } | |
[style*="margin-left:-"] { margin-left: 0 !important } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment