Hi all, I know that is is possible to change the styling for a specific grid-table (by referencing the “id” in CSS). However, I can’t seem to figure out how we can override the default min-width for a specific filter. Namely, I am trying to change the dropdown-menu style for one individual filter on a specific page. The use case involves making the dropdown menu wider for one specific filter where the element names are long text strings. For example, in the screenshot below, we might want to make the “Department” dropdown box wider
When inspecting the HTML, I don’t see the “id” references on this individual filter level and see that the min-width of 250px has been injected into the HTML. Any suggestions on how I can reference this specific filter to increase the min-width? Thanks!
Step 2 : Add test_css.html (Snippet in side the samples folder ) following code the UX_Demo.Account.Account is dynamic depending what the instance.dimension.hierarchy to target
@ishapiro thank you for your help on this! I didn’t know that we could inject htmlSnippets into the toolbar so that’s a neat trick. However, when I try to follow your steps, it seems like the htmlSnippet isn’t applying. Could you have a quick look below to see what I’m missing?
@ishapiro thank you! I think I now understand now what you mean by adding the Adv Options to the toolbar pop-up. I need to first create a dummy “toolbar pop-up” and put the Adv Options into that pop-up button. Once I do that, the dummy pop-up button disappears from the toolbar but the htmlSnippet reference persists and gets applied to the page. Thanks again!
You need to grab the ID from 2-3 upper level div and then add this code to your custom css file. the ID in this code is just the placeholder which match with the screenshot i added.hope that helps