From e2f110c0c17a2862eea997bc89a62f936f512da0 Mon Sep 17 00:00:00 2001 From: cballevre Date: Thu, 10 Aug 2023 16:56:15 +0200 Subject: [PATCH] fix(SharingShortcutBadge): Improve fontSize and use Circle from cozy-ui --- .../modules/filelist/cells/SharingShortcutBadge.jsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/drive/web/modules/filelist/cells/SharingShortcutBadge.jsx b/src/drive/web/modules/filelist/cells/SharingShortcutBadge.jsx index 0229c00d08..140c65f8c1 100644 --- a/src/drive/web/modules/filelist/cells/SharingShortcutBadge.jsx +++ b/src/drive/web/modules/filelist/cells/SharingShortcutBadge.jsx @@ -5,6 +5,7 @@ import cx from 'classnames' import { isSharingShortcutNew } from 'cozy-client/dist/models/file' import { useI18n } from 'cozy-ui/transpiled/react/I18n' import { TableCell } from 'cozy-ui/transpiled/react/Table' +import Circle from 'cozy-ui/transpiled/react/Circle' import styles from 'drive/styles/filelist.styl' @@ -19,17 +20,14 @@ const SharingShortcutBadge = ({ file }) => { )} > {isSharingShortcutNew(file) ? ( -
+ 1 -
+ ) : null} )