i have code with 2 buttons, one to be shown on mobile, a different one to be shown on desktop.

i can hide and show them respectively using media queries.

but as gmail doesnt use the media query, how do i hide it from gmail mobile version?

hiding it in-line will make it hidden from the desktop version.