mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-11-16 01:21:16 +01:00
Ignore FIle name and preview in mobile layout of file manager (#4665)
Ignore filename and preview in compact view of filemanager Co-authored-by: Connor Yoh <connor@stirlingpdf.com>
This commit is contained in:
parent
b54beaa66b
commit
3cebcc70af
@ -42,6 +42,7 @@ const CompactFileDetails: React.FC<CompactFileDetailsProps> = ({
|
|||||||
<Box style={{ width: '7.5rem', height: '9.375rem', flexShrink: 0, position: 'relative', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
<Box style={{ width: '7.5rem', height: '9.375rem', flexShrink: 0, position: 'relative', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
||||||
{currentFile && thumbnail ? (
|
{currentFile && thumbnail ? (
|
||||||
<img
|
<img
|
||||||
|
className='ph-no-capture'
|
||||||
src={thumbnail}
|
src={thumbnail}
|
||||||
alt={currentFile.name}
|
alt={currentFile.name}
|
||||||
style={{
|
style={{
|
||||||
@ -66,7 +67,7 @@ const CompactFileDetails: React.FC<CompactFileDetailsProps> = ({
|
|||||||
|
|
||||||
{/* File info */}
|
{/* File info */}
|
||||||
<Box style={{ flex: 1, minWidth: 0 }}>
|
<Box style={{ flex: 1, minWidth: 0 }}>
|
||||||
<Text size="sm" fw={500} truncate>
|
<Text className='ph-no-capture' size="sm" fw={500} truncate>
|
||||||
{currentFile ? currentFile.name : 'No file selected'}
|
{currentFile ? currentFile.name : 'No file selected'}
|
||||||
</Text>
|
</Text>
|
||||||
<Text size="xs" c="dimmed">
|
<Text size="xs" c="dimmed">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user