mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
scroll added to mini cache
This commit is contained in:
@@ -57,7 +57,11 @@ const TorrentCache = memo(
|
|||||||
<Measure bounds onResize={({ bounds }) => setDimensions(bounds)}>
|
<Measure bounds onResize={({ bounds }) => setDimensions(bounds)}>
|
||||||
{({ measureRef }) => (
|
{({ measureRef }) => (
|
||||||
<div ref={measureRef}>
|
<div ref={measureRef}>
|
||||||
<DialogContent style={{ padding: 0 }}>
|
<DialogContent
|
||||||
|
{...(isMini
|
||||||
|
? { style: { padding: 0, maxHeight: '340px', overflow: 'auto' } }
|
||||||
|
: { style: { padding: 0 } })}
|
||||||
|
>
|
||||||
<Stage
|
<Stage
|
||||||
style={{ display: 'flex', justifyContent: 'center' }}
|
style={{ display: 'flex', justifyContent: 'center' }}
|
||||||
offset={{ x: -stageOffset, y: -stageOffset }}
|
offset={{ x: -stageOffset, y: -stageOffset }}
|
||||||
|
|||||||
Reference in New Issue
Block a user