Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/ui-components/src/Common/AlertBox/index.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@reference "../../styles/index.css";

.title {
@apply min-w-max;
}

.alertBox {
@apply flex
flex-row
Expand Down
21 changes: 21 additions & 0 deletions packages/ui-components/src/Common/AlertBox/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,24 @@ export default {
},
},
} as Meta;

export const SmallContainer: Story = {
render: args => (
<div className="w-200">
<AlertBox {...args} />
</div>
),
args: {
level: 'info',
title: 'Stability: 3',
children: (
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Inventore,
quasi doloremque. Totam, earum velit, sunt voluptates fugiat beatae
praesentium quis magni explicabo repudiandae nam aut molestias ex ad
sequi eum!
</p>
),
size: 'default',
},
};
Loading