Currently I am developing an email template and have incorporated a CSS class specifically for mobile devices, excluding desktops. However, I have encountered an issue where Gmail on desktop is removing the class entirely.
I'm puzzled as to why this is happening, especially since the class functions properly on other desktop email clients. Any insights on what might be causing this discrepancy?
<style type="text/css">
/* Styling for Smartphone Portrait and Landscape Views */
@media screen and (max-width: 600px) {
.mobileSpacer {
display: block;
}
}
.mobileSpacer {
display: none;
}
</style>