I used the tablet / desktop mode for one of my project but i want to use some CSS code to use the whole width of the screen and not only the center panel. I found to it for some components used in my screen (text, button) but i’ve missing the CSS trick for a webview component.
Do you have any idea to enlarge the webview component to the full width of the screen ?
Thanks @Mark_Turrell
I’ve just tried it but it doesn’t work
Is there a way to enlarge the central panel (and so all the components used) on the full width of the screen in the tablet mode ?
This is an unstable class name and will break pretty frequently. If you go ahead with this make sure you check your app everyday to see if it still works. Otherwise please try finding a more stable class name.
That sc-dkmKpi cUzhcc part is still unstable I believe. I think class*= focused might target some other components on the screen so try moving up or down the code to find a more stable one.
Did anyone figure out a stable class for the webview component? I’d like to use more of the screen with the webview, and maybe explore having a zoom too. Thanks!
Even if it’s not the full width, can the left and right margins be accessed to center the webview?
Such as adding margin-left: auto & margin-right:auto to that same CSS bit, or something like this? (My CSS skills are very basic.)
I’d like this on the phone view where I’m trying to bring in charts from a Google Sheet, but the charts are always left-aligned.
Hello, I’m trying to make these changes to my App that will only be used on Web pages and not any mobile device. Where does this code need to go in order to work on the entire App?
Hope this can help, basically an Experimental Code column to retrieve the user’s device type (please beware that this might not always be reliable), and then use conditional visibility to show/hide elements accordingly.