client: make drive desgin more responsive
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
This commit is contained in:
parent
8c690622a1
commit
6d63a5321f
3 changed files with 12 additions and 7 deletions
|
@ -318,8 +318,8 @@ async function deleteFile(): Promise<void> {
|
||||||
}
|
}
|
||||||
|
|
||||||
> .thumbnail {
|
> .thumbnail {
|
||||||
width: 110px;
|
width: 8em;
|
||||||
height: 110px;
|
height: 8em;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -259,8 +259,9 @@ function onContextmenu(ev: MouseEvent) {
|
||||||
}
|
}
|
||||||
|
|
||||||
> .thumbnail {
|
> .thumbnail {
|
||||||
width: 110px;
|
/* same style as drive.file.vue */
|
||||||
height: 110px;
|
width: 8em;
|
||||||
|
height: 8em;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
|
||||||
/* same style as drive-file-thumbnail.vue */
|
/* same style as drive-file-thumbnail.vue */
|
||||||
|
|
|
@ -610,9 +610,13 @@ onBeforeUnmount(() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.contents {
|
.contents {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: repeat(5, 1fr);
|
flex: row wrap;
|
||||||
gap: .5em;
|
|
||||||
|
> * {
|
||||||
|
width: 8em;
|
||||||
|
margin: var(--margin);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty {
|
.empty {
|
||||||
|
|
Loading…
Reference in a new issue