Update margins on the list view, better title line spacing

This commit is contained in:
Jackson Harper 2023-08-03 17:05:36 +08:00
parent 63e47a87ad
commit 0b2e0878fc
3 changed files with 3 additions and 5 deletions

View file

@ -34,7 +34,8 @@ export const TitleStyle = {
color: '$thTextContrast2',
fontSize: '16px',
fontWeight: '700',
lineHeight: '1',
maxLines: 2,
lineHeight: '1.25',
fontFamily: '$display',
overflow: 'hidden',
textOverflow: 'ellipsis',

View file

@ -237,8 +237,6 @@ const LibraryGridCardContent = (props: LinkedItemCardProps): JSX.Element => {
<Box
css={{
...TitleStyle,
maxLines: 2,
lineHeight: 1.25,
height: '42px',
}}
>

View file

@ -60,8 +60,7 @@ export function LibraryListCard(props: LinkedItemCardProps): JSX.Element {
css={{
px: '20px',
pl: '10px',
pt: '20px',
pb: '20px',
py: '15px',
height: '100%',
cursor: 'pointer',
gap: '10px',