Hello, I'm encountering a jarring problem where text size is changing depending on the amount of text I am displaying when run the story on my samsung galaxy S6's chrome browser.
My plans for the passage is to print descriptive text from various item's datamaps so clicking between longer and shorter descriptions creates very unpleasant font size changes.
Is there a way to have a more consistent font size (at least on this passage) while keeping mobile responsiveness?
I am using Twine 2.2.1 with the Harlowe story format
Here are dropbox links to images of the problem.
Image 1 image 2
Here's is the code for the passage displaying too large.
{
<div class="center">
YOUR STUFF
</div>
<br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<br>
<br>
<div class="center">
(link: "BACK TO BAG")[
(goto: "inventory")
]
</div>
}
Here is the code for the passage displaying too small:
{
<div class="center">
YOUR STUFF
</div>
<br>
Lorem ipsum dolor
<br>
<br>
<div class="center">
(link: "BACK TO BAG")[
(goto: "inventory")
]
</div>
}
And here is my CSS:
body {
font-family: 'Special Elite', cursive;
}
tw-story {
padding: 5% 5% 5% 5%;
}
tw-passage {
text-align: left;
font-size: 4vh;
font-size: 4vw;
font-size: 4vmin;
line-height: 1.3;
}
.center {
text-align: center;
}
I hope I have included enough information.
Thank you!