SUI-Components / sui-components

SUI Components
https://sui-components.vercel.app/
MIT License
140 stars 59 forks source link

❓feat(components/molecule/dropdownOption): change alignment of dropdown options #2753

Closed azaharamg closed 2 months ago

azaharamg commented 2 months ago

Category/Component

TASK:

Description, Motivation and Context

When using the DropdownOption component with a child element and a description text, both elements will be aligned to the start. If you include two elements as children, such as a text and a button, it is not possible to align these elements independently because they are already aligned to the start by the parent component.

I've changed this alignment to stretch so that the children elements will occupy all the full available width.

Types of changes

Screenshots - Animations

github-actions[bot] commented 2 months ago
STATEMENTS BRANCHES FUNCTIONS LINES
≍ ≍ 0= ≍ 0= ≍ 0= ≍ 0=
% 75.9 64.19 65.99 77.7
ABS 3343 / 4404 2051 / 3195 654 / 991 3164 / 4072
github-actions[bot] commented 2 months ago
STATEMENTS BRANCHES FUNCTIONS LINES
≍ ≍ 0= ≍ 0= ≍ 0= ≍ 0=
% 75.9 64.19 65.99 77.7
ABS 3343 / 4404 2051 / 3195 654 / 991 3164 / 4072