mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-10-26 16:45:18 +00:00
Use dense toolbar variant for libraries
This commit is contained in:
1 parent
33958a3404
commit
606f78920e
2 files changed
+5
-1
No files matched your search
@@ -41,7 +41,10 @@ const AlphabetPicker: React.FC<AlphabetPickerProps> = ({
|
||||
// eslint-disable-next-line react/jsx-no-bind
|
||||
sx={theme => ({
|
||||
position: 'fixed',
|
||||
top: '112px', // This is the height of the AppBar + Tabs, this should be dynamic
|
||||
top: {
|
||||
xs: '144px', // Extra small screens the AppBar wraps to 3 rows (128px) and we align top with 16px of spacing
|
||||
sm: '96px' // Small screens the AppBar is 2 rows (96px) and we align center (no extra spacing)
|
||||
},
|
||||
bottom: 0,
|
||||
fontSize: '80%',
|
||||
display: 'flex',
|
||||
|
||||
@@ -95,6 +95,7 @@ const LibraryToolbar: FC = () => {
|
||||
|
||||
return (
|
||||
<Toolbar
|
||||
variant='dense'
|
||||
className='padded-left padded-right'
|
||||
sx={{
|
||||
display: 'flex',
|
||||
|
||||
Reference in new issue
Block a user