mirror of
https://github.com/stashapp/stash.git
synced 2026-05-09 05:05:29 +02:00
improve image wasll column scaling (#3516)
This commit is contained in:
parent
57951fe6a0
commit
e90b00d3bd
1 changed files with 2 additions and 2 deletions
|
|
@ -76,9 +76,9 @@ const ImageWall: React.FC<IImageWallProps> = ({ images, handleImageOpen }) => {
|
|||
);
|
||||
|
||||
function columns(containerWidth: number) {
|
||||
let preferredSize = 250;
|
||||
let preferredSize = 300;
|
||||
let columnCount = containerWidth / preferredSize;
|
||||
return Math.floor(columnCount);
|
||||
return Math.round(columnCount);
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in a new issue