adjust image grid

This commit is contained in:
Kieran 2023-05-29 15:19:24 +01:00
parent 0786c6830c
commit b214783ac3
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 5 additions and 3 deletions

View File

@ -5,14 +5,16 @@
}
.image-grid > div {
width: 100px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
width: 150px;
height: 150px;
}
.image-grid img, .image-grid video, .image-grid audio {
width: stretch;
max-width: stretch;
max-height: stretch;
}

View File

@ -19,7 +19,7 @@ export default function ImageGrid(props: ImageGridProps) {
const dispatch = useDispatch();
const [files, setFiles] = useState<PagedResponse<VoidFileResponse>>();
const [page, setPage] = useState(0);
const pageSize = 20;
const pageSize = 100;
const [accessDenied, setAccessDenied] = useState<boolean>();
async function loadFileList() {