diff --git a/src/components/applications/file-explorer/FileExplorer.module.css b/src/components/applications/file-explorer/FileExplorer.module.css index 0c315f2..51b515a 100644 --- a/src/components/applications/file-explorer/FileExplorer.module.css +++ b/src/components/applications/file-explorer/FileExplorer.module.css @@ -144,6 +144,9 @@ } .File-button-preview { + display: flex; + justify-content: center; + align-items: center; height: 100%; overflow: hidden; } @@ -154,6 +157,12 @@ object-fit: contain; } +.File-button-preview > img { + height: auto; + max-height: 100%; + border-radius: 0.5rem; +} + .File-button svg, .Folder-button svg { width: 50%; height: auto;