Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Please help to fix header on smartphones
Please help to fix header on smartphones
The form hides the header.
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Please help to fix header on smartphones
Hi,
Try increasing the height of nuActionHolder by adding this code in under Setup->Header:
Try increasing the height of nuActionHolder by adding this code in under Setup->Header:
Code: Select all
if (nuIsMobile()) {
$('#nuActionHolder').css('height','80px');
}
Re: Please help to fix header on smartphones
Thank you very much. Its working. And thanks for nuIsMobile() - I have tried media queries, but this method is better. I wish I had complete api documentation.
The only question is how to write this code for all forms at once. Because if you put the code in the settings, it doesn't work. It only works if you write it for a specific form.
Re: Please help to fix header on smartphones
Kevin, There is an inconvenience.kev1n wrote: ↑Tue May 24, 2022 4:28 pm Hi,
Try increasing the height of nuActionHolder by adding this code in under Setup->Header:
Code: Select all
if (nuIsMobile()) { $('#nuActionHolder').css('height','80px'); }
When I increase the height of the title, scrollbars appear in popup windows. Can you tell me how to fix it? Thank you for your time. Also, can you tell me where I can remove the indent from the left edge of such forms?
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Please help to fix header on smartphones
The margin can be removed by replacing
with
in nucommon.js / in function nuBuildLookup()
Edit: There's now an updated https://github.com/nuBuilder/nuBuilder-4.5/blob/master/core/nucommon.js at Github.
Code: Select all
window.nuDialog.createDialog(50, 25, 50, 50, '');
Code: Select all
window.nuDialog.createDialog(0, 25, 50, 50, '');
Edit: There's now an updated https://github.com/nuBuilder/nuBuilder-4.5/blob/master/core/nucommon.js at Github.
Re: Please help to fix header on smartphones
I have updated nubuilder. It got better. Thanks.kev1n wrote: ↑Mon Jun 06, 2022 3:51 pm There's now an updated https://github.com/nuBuilder/nuBuilder-4.5/blob/master/core/nucommon.js at Github.