-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #844 from oceanbase/dengfuping-dev
improve(style): Empty description max-width => 600px and steps max-width => 1000px for over length style
- Loading branch information
Showing
3 changed files
with
76 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React from 'react'; | ||
import { Empty, Button } from '@oceanbase/design'; | ||
|
||
export default () => { | ||
const description = 'This is a long long long long long long description.'; | ||
const steps = [ | ||
{ | ||
title: 'First', | ||
description, | ||
}, | ||
{ | ||
title: 'Second', | ||
description, | ||
}, | ||
{ | ||
title: 'Third', | ||
description, | ||
}, | ||
{ | ||
title: 'Fourth', | ||
description, | ||
}, | ||
]; | ||
|
||
return ( | ||
<Empty | ||
image={Empty.PRESENTED_IMAGE_COLORED} | ||
title="Create Your Cluster" | ||
description="There is no cluster, welcome to create one! There is no cluster, welcome to create one! There is no cluster, welcome to create one! There is no cluster, welcome to create one! There is no cluster, welcome to create one! There is no cluster, welcome to create one!" | ||
steps={steps} | ||
> | ||
<Button type="primary">Create Cluster</Button> | ||
</Empty> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters