diff --git a/Iceshrimp.Frontend/Components/DriveEntry.razor b/Iceshrimp.Frontend/Components/DriveEntry.razor index f4d7d1ae..2a26c90f 100644 --- a/Iceshrimp.Frontend/Components/DriveEntry.razor +++ b/Iceshrimp.Frontend/Components/DriveEntry.razor @@ -41,15 +41,21 @@ } else if (File.ContentType.StartsWith("audio") || Constants.CommonAudioExtensions.Any(e => File.Filename.EndsWith(e))) { - + + + } else if (File.ContentType.StartsWith("video") || Constants.CommonVideoExtensions.Any(e => File.Filename.EndsWith(e))) { - + + + } else { - + + + } @File.Filename @@ -93,7 +99,9 @@ @if (Folder != null && File == null) {
- + + + @Folder.Name diff --git a/Iceshrimp.Frontend/Components/DriveEntry.razor.css b/Iceshrimp.Frontend/Components/DriveEntry.razor.css index 91bcfb68..75f8a4c9 100644 --- a/Iceshrimp.Frontend/Components/DriveEntry.razor.css +++ b/Iceshrimp.Frontend/Components/DriveEntry.razor.css @@ -16,7 +16,7 @@ } ::deep { - .ph { + .icon .ph { display: block; vertical-align: middle; line-height: 1; @@ -35,6 +35,8 @@ .labels .ph { display: inline-block; vertical-align: top; + line-height: 1; + color: var(--notice-color); } }