I am facing an issue with a vertical button on my website. It works fine in browsers, but when the webpage is shared on Facebook and opened within the Facebook app, the button's alignment gets distorted. How can I resolve this problem?
<div class="my-class">MJI Offer</div>
.my-class{
background-color: black;
color: yellow;
position: fixed;
top: 20%;
padding: 7px;
writing-mode: vertical-rl;
}
I need assistance to fix this issue. If vertical-rtl is not working, what other alternative solutions can be used? Using transform:rotate(90deg) creates a gap between the button and the side of the website, which is not acceptable.