mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update margins on the list view, better title line spacing
This commit is contained in:
parent
63e47a87ad
commit
0b2e0878fc
3 changed files with 3 additions and 5 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -237,8 +237,6 @@ const LibraryGridCardContent = (props: LinkedItemCardProps): JSX.Element => {
|
|||
<Box
|
||||
css={{
|
||||
...TitleStyle,
|
||||
maxLines: 2,
|
||||
lineHeight: 1.25,
|
||||
height: '42px',
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue