hello, this is my first post here…is possible to apply custom css to a view before the loading of a page?
i explain: I have an homepage with six blocks, so if I set fixed heights it would be good for my developement smartphone, but it won’t for different screens, so to “make responsive” this view before the loading of the home i calculate the height of the view with
var dynamicheight=(platformModule.screen.mainScreen.heightDIPs-80)/3
and would set this height to the blocks in the css.
i didn’t find a better way to do this, i tried with vh or % dimensions but seems NS don’t like these
any suggestion will be appreciated
thank you