Hi,
Regards
Carlos Messias
Hi Carlos,
Assuming you are using OutSystems UI, than that is easy to do with a little bit of css:
.accordion-item .accordion-item-header { flex-direction: row-reverse; } .accordion-item .accordion-item-title { padding-left: var(--space-base); }
This is taken from the following documentation link:
https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Web_Patterns/Content/Accordion
Regards,
Daniel
Daniël's answer is the right one, but i would expand it slightly. If you want to use both types of accordions in your application you can slightly change the CSS provided by Daniël and use the "ExtendedClass" input parameter of the Accordion/Accordion-item widget to control the placement of the arrow.
Using the following CSS, you can use the ExtendedClass "accordion-arrowleft" on either the Accordion (to place all arrows in the accordion to the left) or specific Accordion-items to place their arrow to the left.
.accordion.accordion-arrowleft .accordion-item .accordion-item-header, .accordion-item.accordion-arrowleft .accordion-item-header { flex-direction: row-reverse; } .accordion.accordion-arrowleft .accordion-item .accordion-item-title, .accordion-item.accordion-arrowleft .accordion-item-title { padding-left: var(--space-base); }
Timothy
Timothy de Vries wrote:
Hi