mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Improve layout for list mode
This commit is contained in:
parent
15f201fcfc
commit
f4f7870a35
2 changed files with 4 additions and 4 deletions
|
|
@ -85,9 +85,9 @@ export function LibraryListCard(props: LinkedItemCardProps): JSX.Element {
|
|||
height: '100%',
|
||||
cursor: 'pointer',
|
||||
gap: '10px',
|
||||
borderStyle: 'none',
|
||||
borderBottom: 'none',
|
||||
borderRadius: '6px',
|
||||
borderBottom: props.legacyLayout
|
||||
? 'unset'
|
||||
: '1px solid $thLeftMenuBackground',
|
||||
'@media (max-width: 930px)': {
|
||||
borderRadius: '0px',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1334,7 +1334,7 @@ function LibraryItemsList(props: LibraryItemsProps): JSX.Element {
|
|||
width: '100%',
|
||||
gridAutoRows: 'auto',
|
||||
borderRadius: '6px',
|
||||
gridGap: props.layout == 'LIST_LAYOUT' ? '10px' : '20px',
|
||||
gridGap: props.layout == 'LIST_LAYOUT' ? '0px' : '20px',
|
||||
marginTop: '10px',
|
||||
marginBottom: '0px',
|
||||
paddingTop: '0',
|
||||
|
|
|
|||
Loading…
Reference in a new issue