New answers tagged

0 votes

lightning-input type="toggle" change label font

The best practice is to use styling hooks to customize the styles of the lightning-input component, rather than overriding the slds-form-element__label class. Styling hooks are CSS custom properties ...
Tushar Jadav's user avatar
  • 1,081
0 votes

Lightning Datatable Column headers are overflowing when browser window size changing by the user

You're not meant to use wrapping on the headers. That's what slds-truncate does; it cuts the label off short when it's too long. You can add word-break: keep-all to try and prevent the unnecessary ...
sfdcfox's user avatar
  • 481k
3 votes
Accepted

Override the style (color)of Lightning-button-icon on bare variant in LWC

If you want to change the background CSS .icon-b { --slds-c-button-color-background: yellow; } If you want to change the icon itself: CSS .icon-b { --slds-c-icon-color-foreground: yellow; } ...
Scopes's user avatar
  • 76
0 votes
Accepted

How to override the @media css property into the experince cloud site?

I found the solution, how to change the navigation text colour using the configuration. I have followed the steps provided in this documentation. Click on the Compact Header In the Compact Header ...
Tushar Jadav's user avatar
  • 1,081

Top 50 recent answers are included