Skip to content

Commit

Permalink
add Depiction to reproduce FF apsect-ratio problem
Browse files Browse the repository at this point in the history
  • Loading branch information
haschek committed Nov 25, 2024
1 parent f2d447c commit 5dfac83
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/Application/stories/Application.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
Button,
Depiction,
Icon,
OverviewItem,
WorkspaceHeader,
} from "../../../index";

Expand Down Expand Up @@ -76,7 +77,16 @@ const TemplateBasicExample: StoryFn<typeof ApplicationBasicExample> = (args) =>
<code>Menu</code> with <code>MenuItem</code>s.
</ApplicationSidebarNavigation>

<WorkspaceHeader id={"ApplicationBasicExample"} />
<WorkspaceHeader id={"ApplicationBasicExample"}>
<OverviewItem>
<Depiction
image={<Icon name={"application-homepage"} />}
backgroundColor={"dark"}
padding="medium"
ratio="1:1"
/>
</OverviewItem>
</WorkspaceHeader>

<ApplicationToolbar>
<ApplicationToolbarSection>
Expand Down

0 comments on commit 5dfac83

Please sign in to comment.