1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00

Larger min-w to anonlayout content container (#9502)

* add larger min-w to content container

* increase min-w
This commit is contained in:
rr-bw
2024-06-04 14:45:10 -07:00
committed by GitHub
parent f059d136b2
commit 90ca4345b3
2 changed files with 22 additions and 2 deletions

View File

@@ -119,6 +119,24 @@ export const WithLongContent: Story = {
}),
};
export const WithThinPrimaryContent: Story = {
render: (args) => ({
props: args,
template:
// Projected content (the <div>'s) and styling is just a sample and can be replaced with any content/styling.
`
<auth-anon-layout [title]="title" [subtitle]="subtitle" [showReadonlyHostname]="showReadonlyHostname">
<div class="text-center">Lorem ipsum</div>
<div slot="secondary" class="text-center">
<div class="tw-font-bold tw-mb-2">Secondary Projected Content (optional)</div>
<button bitButton>Perform Action</button>
</div>
</auth-anon-layout>
`,
}),
};
export const WithIcon: Story = {
render: (args) => ({
props: args,