Hot answers tagged

3 votes

LWC: How to make DIV fit with mobile view

from the docs - Create Responsive Layouts you can use the *-device-size property to change the size depending on the viewport. Example: <lightning-card> <lightning-layout multiple-rows&...
  • 19.5k
1 vote

LWC: How to make DIV fit with mobile view

I will add important details for the answer provided by @glls. Documentation for layout-item If you specify the small-device-size, medium-device-size, or large-device-size attributes, you must also ...
1 vote
Accepted

alignment issue with lwc

Did you try something like that? <tr key={rec} class="slds-hint-parent row"> ... </tr> .row { display: flex; align-item: flex-start; }
  • 1,416
1 vote
Accepted

LWC Lightning Datatable - Highlight Cell Using CSS Class

As per the documentation this is not yet supported. Custom classes are currently not supported. To apply custom styling on your datatable cells, create a custom data type and then apply your custom ...
  • 13.6k
1 vote

LWC icons not rendering in visualforce page or browsers like chrome/edge

You don't have to upload the svg files as static resources. Include <apex:slds /> in a Visualforce page to use Lightning Design System stylesheets in the page as explained in the documentation. ...
  • 13.6k

Only top scored, non community-wiki answers of a minimum length are eligible