attached there is an image of the currents state of my grid, where I am not able to get rid of the left space in a cell. As well in the header as in the body, there is always a space left of the content. Any help? I already tried to “margin-left: 0px” and “padding-left: 0px” but nothing worked.
One more thing. If you want to target the theme module only for one grid instead of all of them (in case you have more than one grid), you can create a new theme variant, let’s say “no-padding”, by adding a theme attribute selector to the CSS:
An other thing, is there somewhere an overview of this styling options within a theme module, so I could figure out stuff like this on my own? Because I have a similare styling problem with a combobox.
Chrome dev tools is your best friend in this process. Inspect the elements and tweak their styles in the browser until you are satisfied with the results. Then create a theme module for the elements whose styles you changed.
If the element whose styles you want to change is a web component itself, create a theme module for that element and use the :host-selector to add styles to it.
If the element whose styles you want to change is a native element inside a web component, create a theme-module for the parent web component, and use any CSS selector to target that child element. The part-attribute means that this internal element is supported to be stylable. Other internal elements are considered implementation details which could change in future releases.