mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-04-01 01:18:01 +02:00
adjust image grid
This commit is contained in:
parent
0786c6830c
commit
b214783ac3
@ -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;
|
||||
}
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user