Skip to content

Commit

Permalink
Merge pull request kubesphere#156 from chenz24/hotfix
Browse files Browse the repository at this point in the history
Fix some bugs
  • Loading branch information
chenz24 committed Apr 25, 2022
2 parents bc674a6 + c130fa8 commit 85b9620
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/components/src/Entity/Entity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export const Entity = forwardRef<EntityProps, 'div'>(
(
{
children,
className,
footer,
gap = 20,
bordered = true,
Expand Down
3 changes: 2 additions & 1 deletion packages/components/src/Progress/Progress.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export const Basic = () => <Progress value={50} color="#ca2621" striped />;

export const segments = () => (
<Progress
size="lg"
size="xl"
total={80}
sections={[
{ value: 30, color: 'success' },
{ value: 40, color: 'warning' },
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/Progress/Progress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const Progress = forwardRef<ProgressProps, 'div'>(
<ProgressBar
key={index}
$color={section.color}
$radius={radius}
style={{
width: `${section.value}%`,
left: `${section.accumulated}%`,
Expand Down

0 comments on commit 85b9620

Please sign in to comment.