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
try this:
vaadin-grid-cell-content { font-size: .575rem !important; }
Thank you
It seems the problem has to do with the browser font-size appearance settings , which will override the css settings
In my testing that css rule worked fine. Where are you placing this css rule? In which file?
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.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.