Hello
Does anybody know how do I change the font-size of text in FeatureTable cells?
I am sending an image attached
Thank you in advance
Solved! Go to Solution.
To change the font size add this css rule to your deployed apps index.html:
.esri-grid .esri-grid__content {
font-size: medium;
--lumo-font-size-s: .875rem;
}
of course adjusting sizes to your liking. The font-size portion applies to the table column content and the --lumo-font-size-s pertains to the column header text.
In my testing that css rule worked fine. Where are you placing this css rule? In which file?
try this:
vaadin-grid-cell-content {
font-size: .575rem !important;
}
Yes, it works regardless of the browser minimum font-size settings
Thank you!
It seems the problem has to do with the browser font-size appearance settings , which will override the css settings
Thank you