Is there a way to "shrink" this entire item down to a smaller footprint?
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Shrink a field? Topic is solved
Re: Shrink a field?
ChatGPT comes through again...!
Added this CSS in the object properties:
but the label doesn't get re-sized?
Added this CSS in the object properties:
Code: Select all
transform: scale(0.65); transform-origin: center;
-
- nuBuilder Team
- Posts: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 times
- Contact:
Re: Shrink a field?
ChatGPT gave me this:
but I get an error:
Uncaught SyntaxError: Unexpected token 'for'
Code: Select all
label[for="audio_1_time"] {
font-size: 6px !important;
}
Uncaught SyntaxError: Unexpected token 'for'
You do not have the required permissions to view the files attached to this post.
Re: Shrink a field?
Got this code to work, but the placement of the label is not so good. I need 'Audio 1 Time' much closer to the date/time box (beside, not above).
Ideas?
Code: Select all
const style = document.createElement('style');
style.textContent = `label[for="audio_1_time"] {
font-size: 9px !important;
}`;
document.head.appendChild(style);
You do not have the required permissions to view the files attached to this post.
Re: Shrink a field?
Got it! CSS:
Code: Select all
transform: scale(0.65); transform-origin: left;
You do not have the required permissions to view the files attached to this post.