When developing a Lightning web component, which setting displays lightninglayout-items im one column on small devices, such as mobile phones, and in two
To display lightning-layout-items in one column on small devices and in two columns on larger devices, you should set the size attribute to "12" for small devices and the medium-device-size attribute to "6". This ensures that on small devices each item takes the full width, and on medium or larger devices, items take up half the width.References: Lightning Web Components Developer Guide - Layout Components
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit