File tree Expand file tree Collapse file tree 6 files changed +664
-535
lines changed
Expand file tree Collapse file tree 6 files changed +664
-535
lines changed Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' *'
7+ workflow_dispatch :
78
89permissions :
910 id-token : write
1819 with :
1920 node-version : ' 24'
2021 registry-url : ' https://registry.npmjs.org'
22+ - run : npm --version
2123 - run : npm ci
2224 - run : npm run build --if-present
23- - run : npm publish
25+ - run : npm publish --access public
26+ env :
27+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ Prefix the change with one of these keywords:
1717
1818## [ Unreleased]
1919
20+ ## [ 0.25.16]
21+
22+ ### Fixed
23+
24+ - Card image by adding aspect ratio
25+
2026## [ 0.25.10] — [ 0.25.16]
2127
2228### Fixed
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export interface CardFigureProps {
88export const CardFigure = ( { children, isRound } : CardFigureProps ) => {
99 const roundedImage = isRound ? `cu-figure--round pt-8 pb-2 px-6` : ''
1010
11- return < figure className = { `relative mb-2 overflow-hidden rounded-t-lg ${ roundedImage } ` } > { children } </ figure >
11+ return < figure className = { `cu-figure relative mb-2 overflow-hidden rounded-t-lg ${ roundedImage } ` } > { children } </ figure >
1212}
1313
1414CardFigure . displayName = 'Card.Figure'
Original file line number Diff line number Diff line change 2929 @apply w-full;
3030}
3131
32+ .cu-card .cu-figure img {
33+ @apply aspect-[3 / 2 ];
34+ }
35+
3236.cu-card .cu-figure--round img ,
3337.cu-card .cu-figure--round svg {
3438 @apply mx-auto h-32 w-32 rounded-full border-4 border-white object-cover shadow-md @sm : md: h-48 @sm : md: w-48 ;
You can’t perform that action at this time.
0 commit comments