Salesforce-Indicators icon indicating copy to clipboard operation
Salesforce-Indicators copied to clipboard

Consider Device / Container Size

Open tschug opened this issue 3 years ago • 2 comments

We may want to consider using the @api flexipageRegionWidth and SLDS Layout concept to make the component responsive to its container / device size.

See Resources:

  • https://developer.salesforce.com/docs/component-library/documentation/en/lwc/use_width_aware
  • https://developer.salesforce.com/docs/component-library/bundle/lightning-layout-item/example
  • https://developer.salesforce.com/docs/component-library/bundle/lightning-layout/example
  • https://www.lightningdesignsystem.com/utilities/layout/
  • https://www.lightningdesignsystem.com/utilities/sizing/

tschug avatar Nov 01 '22 22:11 tschug

Yes, this will be great. It may be an option on the component to have it display as a Card (with heading / Icon) or a Layout (plain). This fits in with #27 and #73.

JodieM avatar Nov 01 '22 23:11 JodieM

See work done in PR #172 as a starting point for this one.

JodieM avatar Sep 12 '24 11:09 JodieM