Some library margin/padding improvements

This commit is contained in:
Jackson Harper
2023-06-09 18:32:21 +08:00
parent 0ecf1fc192
commit 326fd06f9b

View File

@ -1061,12 +1061,12 @@ function LibraryItems(props: LibraryItemsProps): JSX.Element {
display: 'grid',
width: '100%',
gridAutoRows: 'auto',
borderRadius: '8px',
borderRadius: '5px',
gridGap: props.layout == 'LIST_LAYOUT' ? '0' : '20px',
marginTop: props.layout == 'LIST_LAYOUT' ? '21px' : '0',
marginTop: '0px',
marginBottom: '0px',
paddingTop: props.layout == 'LIST_LAYOUT' ? '0' : '21px',
paddingBottom: props.layout == 'LIST_LAYOUT' ? '0px' : '21px',
paddingTop: '0',
paddingBottom: '0px',
overflow: 'hidden',
'@xlgDown': {
border: 'unset',
@ -1105,7 +1105,7 @@ function LibraryItems(props: LibraryItemsProps): JSX.Element {
outline: 'none',
},
'&> div': {
bg: '$thBackground',
bg: '$thBackground3',
},
'&:focus': {
outline: 'none',