Improve handling of labels

This commit is contained in:
Jackson Harper 2023-03-01 10:56:00 +08:00
parent 0b33f63680
commit b091ff830f
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ export function LabelChip(props: LabelChipProps): JSX.Element {
<SpanBox
css={{
display: 'inline-table',
margin: '5px',
margin: '2px',
borderRadius: '4px',
color: isDarkMode ? darkThemeTextColor : lightThemeTextColor,
fontSize: '13px',

View file

@ -249,7 +249,7 @@ export function LibraryGridCard(props: LinkedItemCardProps): JSX.Element {
marginTop: 'auto',
display: 'block',
pt: '10px',
height: '35px',
minHeight: '35px',
}}
>
{props.item.labels?.map(({ name, color }, index) => (