Skip to content

DxcDropdown adds right padding even when no "arrow" is displayed #402

@pcastanoigle

Description

@pcastanoigle

Describe the bug

The content of the collapsed dropdown is not displayed centered, there is a padding included on the right:

image

image

 displayValue: (          <DxcDropdown   options={options}    onSelectOption={(option) => item.onClickOption(option)}  iconSrc={more_horiz}            caretHidden={true}   theme="dark" ></DxcDropdown>        ),

To Reproduce
See code above.

Expected behavior
Should be displayed centered.

Screenshots
See above
Additional context

Add labels
"@dxc-technology/halstack-react": "^3.3.0",

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions