AlaskaAirlines / auro-accordion

Custom element that allows users to toggle the display for sections of content
https://auro.alaskaair.com/components/auro/accordion
Apache License 2.0
1 stars 2 forks source link

auro-accordion: justifyLeft attribute no longer working #53

Closed arrenleung closed 2 years ago

arrenleung commented 2 years ago

Describe the bug

The 'justifyLeft' attribute is displaying the default chevron placement instead of moving the chevron to the left.

To Reproduce

Steps to reproduce the behavior:

  1. Create an auro-accordion
  2. Add the justifyLeft attribute
  3. Chevron does not move

Expected behavior

The justifyLeft attribute moves the chevron left, next to the accordion text.

Screenshots

Old accordion (correct):

image

New accordion:

image

Desktop (please complete the following information):

Additional context

Needed for flight search planbook dropdown

isaiahscheel commented 2 years ago

Is there any update on this? We may be using it wrong because it seems like others are still getting justified left like here:

image

Which the code is here: https://github.com/Alaska-ECommerce/ComponentLibrary/blob/main/components/merchandising/saver-upsell-dialog/index.ts#L126

our code is here: https://github.com/Alaska-ECommerce/ComponentLibrary/blob/main/components/merchandising/saver-upsell-dialog/index.ts#L126

See it live here: https://www.alaskaair.com/search/results?O=SEA&D=ALW&OD=05/18/22&OT=Anytime&RT=false&ShoppingMethod=standard