Skip to content

Commit

Permalink
Fix/fixed icon styling issues (#1442)
Browse files Browse the repository at this point in the history
* Fixed styling icon issues

* Updated version nr
  • Loading branch information
wouterbaltus authored Jun 28, 2024
1 parent b95ac3a commit 3948e17
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "15.1.2",
"version": "15.1.3",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down Expand Up @@ -141,4 +141,4 @@
"*.{ts,tsx}": "eslint --cache --fix",
"*.{ts,tsx,js,css,md}": "prettier --write"
}
}
}
2 changes: 1 addition & 1 deletion src/components/banner/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const Banner = ({ type = BannerType.info, text }: BannerProps) => {
return (
<StyledBanner $backgroundColor={getBannerBackgroundColor()}>
<StyledContainer>
<Block paddingTop={scale0}>{getBannerIcon()}</Block>
{getBannerIcon()}
<ParagraphSmall>{text}</ParagraphSmall>
</StyledContainer>
</StyledBanner>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,17 @@ export const CalendarOverride = (): DatepickerOverrides => {
},
},
MonthYearSelectIconContainer: {
component: (props) => (
<Block marginLeft={scale100}>
<CaretDown {...props} color={primaryA} size={25} />
component: () => (
<Block marginLeft={scale200} marginTop={scale200}>
<CaretDown color={primaryA} size={18} />
</Block>
),
},
PrevButtonIcon: {
component: (props) => <CaretLeft {...props} color={primaryA} size={25} />,
component: (props) => <CaretLeft {...props} color={primaryA} size={22} />,
},
NextButtonIcon: {
component: (props) => <CaretRight {...props} color={primaryA} size={25} />,
component: (props) => <CaretRight {...props} color={primaryA} size={22} />,
},
Week: {
style: {
Expand Down

0 comments on commit 3948e17

Please sign in to comment.