jeudi 26 juillet 2018

Resize text and inputs

Im looking for external library or some solution how can I resize text in ember application. I have tried *jfontsize.js*, *textbig*, *flowtype.js*, *resize-text*- for ember and many others, but all of them are not good enough.
Best was jfontsize.js but...

Problem: If we are talking about normal text in div or something similar than everything was okey, but the problem appears when I have some inputs on my view ( espacialy those hidden which will active after some choose of option "Yes/No" )

To the point. Inputs are scaling (text inside was resizing, and was bigger), but after choose some of select or radio-button and new input appear then it has not the same size like old brother but it is small (has normal size) and here is the problem.

All inputs have the same class .inputs, I tried do it manualy via JQuery and $(".inputs.css").css("font-size", "20px") but it didn't work for new inputs which were not active(visible) yet.

Someone have maybe idea how can i solve it? BR. Kacper




Aucun commentaire:

Enregistrer un commentaire