We would like all AttributeFilters in our GD.UI app to be the same width, and not have each filter’s width vary by its label width.
I’ve tried wrapping the AttributeFilter in div tags and adding a style param, but no dice.
Thinking I may have to dig deeper into the css inside the AttributeFilter such as .gd-button-primary .gd-button-text or another class, I was able to edit those in chrome’s developer tools, and that did change filter widths. However, i tried editing the main.css file, but that also did not change the width.
I would really prefer not to change main.css, actually, and set the filter widths wihin the .js file for this page itself. I searched on google how to override css styles and classes inline in js, but I couldn’t find any help.
Best answer by Jan Rehanek
View original