I am trying to change style for spesific column in ag-grid using either cellStyle- or cellClassRules-property.
css is located in css-file:
.align-content-to-end {
text-align: end;
.ag-input-field-input {
text-align: end;
};
}
This works well in Chrome. In firefox I get following (Invalid property name)
What is my problem?
2
Answers
so use
text-align: right;
instead of ‘end’also you are using SASS syntax in CSS which will not work!
simply do this instead
That’s not valid CSS. That’s valid SCSS or Sass syntax but you can’t do that with normal CSS. I’m not sure what you’re trying to do but either use Sass or SCSS or do what the other person said