-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Material Theme: multiple issues #2151
Comments
I was struggling with this as well. Just found that in some documentation they use a special webpack loader called I'm going to try this out today, I'll let you know if it works! |
Please file your bug reports as a separate issues, that would help us addressing them better. Thanks. |
@petyosi For those using ag-grid without webpack what are the options to color the icons? |
@sumcoding you can edit the svg files manually and change the colors in there. Of course, any sort of file preprocessing can do that for you. |
but what happened to #1982 ? I'm using angular cli and ejecting the whole webpack config just to color the svg icons is not an option |
#1982 refers to the svg-webpack-loader implementation - not sure what you mean by referring to it. If you can afford to support the latest browsers only, then you can also change the colors of the icons using filters over the icon class. This is what I tried initially when implementing the SVG icons. However, it is hard to achieve exact colors with this method. It also does not work well in old IE. |
ok, maybe it completly missunderstood. sorry if that's the case. I thought the line |
I'm submitting a ... (check one with "x")
Current behavior
Material theme doesn't work as expected.
$header-background-color
can't be set because it's not in the$params
mapheader-height
when usingfloatingFilter
leads to weird behavior. Example: I set the variable to 30px andheaderHeight
in gridOptions to 30px, won't be reflect in the filters ag-grid-rowResult
<div class="ag-header-row" role="presentation" style="top: 30px; height: 56px; width: 1170px;">
it will always render 56px
Expected behavior
All are settable.
Minimal reproduction of the problem with instructions
the following code won't set anything
set headerHeight in your GridOptions
The text was updated successfully, but these errors were encountered: