Skip to content

Commit

Permalink
Showing 4 changed files with 11 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.4.1-rc.4](https://github.com/zextras/carbonio-shell-ui/compare/v0.4.1-rc.1...v0.4.1-rc.4) (2022-02-24)


### Bug Fixes

* badge text color ([72addae](https://github.com/zextras/carbonio-shell-ui/commit/72addae73405a6d4fe2725d795887cadd955b7a9))

### [0.4.1-rc.1](https://github.com/zextras/carbonio-shell-ui/compare/v0.4.1-rc.0...v0.4.1-rc.1) (2022-02-24)


4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zextras/carbonio-shell-ui",
"version": "0.4.1-rc.2",
"version": "0.4.1-rc.4",
"description": "The Zextras Carbonio web client",
"main": "dist/zapp-shell.bundle.js",
"types": "./types/index.d.ts",
3 changes: 1 addition & 2 deletions src/shell/badge-wrap.tsx
Original file line number Diff line number Diff line change
@@ -18,7 +18,6 @@ const MiniBadge = styled(Container)<{ badge: BadgeInfo }>`
min-height: 12px;
line-height: 12px;
border-radius: 8px;
color: ${({ theme }): string => theme.palette.gray6.regular};
user-select: none;
cursor: default;
`;
@@ -29,7 +28,7 @@ const BadgeWrap: FC<{ badge: BadgeInfo }> = forwardRef(({ badge, children }, ref
{badge.show && (
<MiniBadge badge={badge} height="fit" width="fit">
{badge.showCount ? (
<Text size="extrasmall" style={{ padding: '2px 4px', fontSize: '10px' }}>
<Text size="extrasmall" style={{ padding: '2px 4px', fontSize: '10px' }} color="gray6">
{badge.count ?? 0}
</Text>
) : null}

0 comments on commit eff7025

Please sign in to comment.