Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How to format the lightning-output-field in a grid with LWC?

Asked by Dia Shrinidhi May 15, 2023 1.4K views 1 answer
Share

About this question

I'm trying to display 2 columns of data in a LWC using . They are displaying ok (ideally I would want the labels not wrapping) but when I resize the browser window, some of the columns can jump to the right.

Looking good :-

Bottom left field jumps right when browser window made smaller :-

Middle left field jumps right when browser window made even smaller :-

My html looks like

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.