Aras Button Style

I setting aras button Field CSS code like this sample {$this field rule} .buttonName { width: 10px; } But check Form button width no change . How can I do?  
Parents
  • Hello, Could you please confirm which version of Aras Innovator you are using? The CSS you provided works as expected in my environment. One thing you could try is to set the CSS of the "input" tag rather than using the class name as seen below.
    {$this field rule} input
    {
    width: 100px;
    }
    If this sample still doesn't work, it's possible that the min-width of the button is being set elsewhere. You can test if this is the issue by setting the min-width in your Field CSS as below.
    {$this field rule} input
    {
    width: 10px;
    min-width: 10px !important;
    }
    Chris ___________________________ Christopher Gillis Aras Labs Software Engineer
Reply
  • Hello, Could you please confirm which version of Aras Innovator you are using? The CSS you provided works as expected in my environment. One thing you could try is to set the CSS of the "input" tag rather than using the class name as seen below.
    {$this field rule} input
    {
    width: 100px;
    }
    If this sample still doesn't work, it's possible that the min-width of the button is being set elsewhere. You can test if this is the issue by setting the min-width in your Field CSS as below.
    {$this field rule} input
    {
    width: 10px;
    min-width: 10px !important;
    }
    Chris ___________________________ Christopher Gillis Aras Labs Software Engineer
Children
No Data