-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: visual improvements for the new background (#821)
* fix: make small adjustments to the new background * fix: avatar * fix: breadcrumbs alignment * fix: card fixes * fix: decrease rounded corners of card to match collapse style * fix: update bookmark icon colo * fix: invert margins on cc license * fix: make table transparent * fix: apply tab capitalization
- Loading branch information
Showing
22 changed files
with
193 additions
and
88 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
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
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { Meta, StoryObj, composeStories } from '@storybook/react'; | ||
|
||
import Grid2 from '@mui/material/Unstable_Grid2'; | ||
|
||
import * as CardStories from './Card.stories'; | ||
|
||
const { FullWidth } = composeStories(CardStories); | ||
|
||
const meta = { | ||
title: 'Common/Cards', | ||
component: Grid2, | ||
argTypes: { | ||
xs: { | ||
options: [3, 6, 12], | ||
control: { type: 'radio' }, | ||
}, | ||
}, | ||
} satisfies Meta<typeof Grid2>; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof meta>; | ||
|
||
export const GridOfCards = { | ||
args: { | ||
xs: 6, | ||
}, | ||
render: ({ xs }) => { | ||
return ( | ||
<Grid2 container spacing={2}> | ||
{Array.from(Array(12)).map((_, i) => ( | ||
<Grid2 key={`cardno${i}`} xs={xs}> | ||
<FullWidth /> | ||
</Grid2> | ||
))} | ||
</Grid2> | ||
); | ||
}, | ||
} satisfies Story; |
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
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
Oops, something went wrong.