Web:Client:Home: add check for zero width
This commit is contained in:
parent
bec19bb207
commit
2bd0c6e4e3
@ -67,6 +67,8 @@ const FilesTileContainer = ({
|
||||
|
||||
const { width } = node.getBoundingClientRect();
|
||||
|
||||
if (width === 0) return;
|
||||
|
||||
const size = thumbnails1280x720 ? "1280x720" : getThumbSize(width);
|
||||
|
||||
const widthWithoutPadding = width - 32;
|
||||
|
Loading…
Reference in New Issue
Block a user