File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,11 @@ export const HighlightsCard = ({
172172
173173 { ! isUndefined ( starRating ) &&
174174 ( isInStarRatingVariant ? (
175- < StarRating rating = { starRating } size = "small" />
175+ < StarRating
176+ rating = { starRating }
177+ size = "small"
178+ paddingSize = "none"
179+ />
176180 ) : (
177181 < div css = { starWrapper } >
178182 < StarRatingDeprecated
Original file line number Diff line number Diff line change @@ -76,10 +76,14 @@ const determineSize = (size: RatingSizeType) => {
7676 }
7777} ;
7878
79- type PaddingSizeType = 'small' | 'medium' | 'large' ;
79+ type PaddingSizeType = 'small' | 'medium' | 'large' | 'none' ;
8080
8181const determinePaddingTop = ( size : PaddingSizeType ) => {
8282 switch ( size ) {
83+ case 'none' :
84+ return css `
85+ padding-top : 0 ;
86+ ` ;
8387 case 'small' :
8488 return css `
8589 padding-top : ${ space [ 1 ] } px;
You can’t perform that action at this time.
0 commit comments