Improve the spacing on library grid cards

This commit is contained in:
Jackson Harper 2023-08-03 18:51:54 +08:00
parent 21a86b27d2
commit d8bd659404

View file

@ -219,7 +219,6 @@ const LibraryGridCardContent = (props: LinkedItemCardProps): JSX.Element => {
<HStack
css={{
...MetaStyle,
minHeight: '35px',
pt: '15px',
px: '15px',
}}
@ -244,8 +243,8 @@ const LibraryGridCardContent = (props: LinkedItemCardProps): JSX.Element => {
<SpanBox
css={{
...AuthorInfoStyle,
mt: '0px',
mb: '20px',
mt: '10px',
mb: '10px',
}}
>
{props.item.author}
@ -262,6 +261,7 @@ const LibraryGridCardContent = (props: LinkedItemCardProps): JSX.Element => {
css={{
display: 'block',
minHeight: '35px',
marginLeft: '-2px', // offset because the chips have margin
}}
>
{sortedLabels(props.item.labels).map(({ name, color }, index) => (