How can we reduce the size of components
-
- Posts: 1
- Joined: 30 Jun 2021, 13:00
Hello,
I also used one of the bootstrap themes in a personal project. AFAIK, for most of the components there are size specifying classes. If no size is specified, the components' default size is medium. For example, in the InputText component, adding className "p-inputtext-sm" makes the component smaller. It is present in the showcase for many components.
Kind regards
I also used one of the bootstrap themes in a personal project. AFAIK, for most of the components there are size specifying classes. If no size is specified, the components' default size is medium. For example, in the InputText component, adding className "p-inputtext-sm" makes the component smaller. It is present in the showcase for many components.
Kind regards
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
Thanks @DorukKantarcioglu Also, you can use the following css;
Best Regards,
Thanks @DorukKantarcioglu Also, you can use the following css;
Code: Select all
html, body {
font-size: 10px;
}
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thanks a lot for your update!
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests