Skip to content

Commit

Permalink
Fix length of progress bar and description
Browse files Browse the repository at this point in the history
  • Loading branch information
roshni73 authored and samshara committed Jun 11, 2024
1 parent 16d499c commit 7fa17bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/go-ui-storybook/src/stories/Progressbar.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ type Story = StoryObj<typeof meta>;

export const Default: Story = {
args: {
className: 'progress-bar',
value: 50,
title: 'Total People',
totalValue: 100,
showPercentageInTitle: true,
},
Expand All @@ -34,13 +36,13 @@ export const Default: Story = {
export const WithTitle : Story = {
args: {
...Default.args,
title: 'Progress',
title: 'Total People',
},
};

export const WithDescription: Story = {
args: {
...Default.args,
description: 'This is a progress bar',
description: 'Loading progress of a file',
},
};
4 changes: 4 additions & 0 deletions packages/go-ui-storybook/src/stories/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,7 @@
.bar-chart {
width: 30rem;
}

.progress-bar{
width:10rem;
}

0 comments on commit 7fa17bf

Please sign in to comment.