Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to override ojButton's label style properties?

User_1F0M6Jun 16 2017 — edited Jun 21 2017

I am using an ojet ojButton and tried resizing the button width. However, after resizing, the button label is partly hidden because of the default padding style value.

Here is the image of the button with partially visible label :

pastedImage_6.png

and here is the code , as well as the css property I want to override :

Css:

pastedImage_9.png

if in Developer Tools (F12), I change the value of padding to 0px, i see the full button label. Basically, I will need to remove default padding of the button :

pastedImage_10.png

Can anyone help? THanks

Comments
Post Details
Added on Jun 16 2017
1 comment
240 views