-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
bugSomething isn't workingSomething isn't workingjiraThis task is referenced in a story of JiraThis task is referenced in a story of Jira
Description
Describe the bug
Container DxcApplicationLayout.Header.Dropdown has more height than in the specifications.
To Reproduce
import { DxcApplicationLayout, DxcDropdown } from "@dxc-technology/halstack-react";
import React from "react";
export default function App() {
const optionsUser = [
{
value: 1,
label: "Test",
},
{
value: 2,
label: "Test",
},
];
return (
<DxcApplicationLayout
header={
<DxcApplicationLayout.Header
content={
<React.Fragment>
<DxcApplicationLayout.Header.Dropdown
label="Header Dropdown"
options={optionsUser}/>
<DxcDropdown
label="Dropdown"
options={optionsUser}/>
</React.Fragment>
}
></DxcApplicationLayout.Header>
}
>
<DxcApplicationLayout.Main>Main Content</DxcApplicationLayout.Main>
</DxcApplicationLayout>
);
}
First dropdown using DxcApplicationLayout.Header.Dropdown has 44px of height. Meanwhile, a normal dropdown (the second one), it has 40px of height.
Expected behaviour
It should have height: 40px as it is specified in the specifications.
Add labels
dropdown, header, application layout.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingjiraThis task is referenced in a story of JiraThis task is referenced in a story of Jira


