C
C
cos_is2018-05-18 07:39:47
css
cos_is, 2018-05-18 07:39:47

Text-size-adjust on fixed height container?

I encountered the following behavior: a non-responsive site, on mobile browsers the font in the content area automatically increases, it also includes a spoiler area with a continuation, the height is fixed, it expands when clicked. If in the rest of the area the font increases, then in the spoiler it remains small, if you remove the height, then everything adapts normally. Accordingly, text-size-adjust does not work if the height is set.
Is there any way to manage this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2018-05-18
@Peterko

Try it via text-size-adjust: inherit; But as I see it, it's easier to give "@media" request for mobile view. And there already replace the height with the one you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question