misc: tweak compact mode icons
This commit is contained in:
1 parent
70bebaa3bc
commit
b90703d9f8
2 files changed
+8
-5
No files matched your search
@@ -41,7 +41,10 @@ export const optimizeImageURL = (
|
||||
if (width > 0) {
|
||||
url.searchParams.append(
|
||||
'thumbnail',
|
||||
findClosestNumber([128, 256, 512, 728, 1024, 1536], width).toString()
|
||||
findClosestNumber(
|
||||
[128, 196, 256, 512, 728, 1024, 1536],
|
||||
width
|
||||
).toString()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user