mobile fixes

This commit is contained in:
Čarodej
2021-10-28 08:49:35 +02:00
parent 9c26c764bd
commit 3dfee77042
10 changed files with 39 additions and 15 deletions
@@ -166,6 +166,9 @@ export default {
},
goToItem() {
if (this.isImage || this.isVideo || this.isAudio || this.isPdf) {
this.$store.commit('CLIPBOARD_CLEAR')
this.$store.commit('ADD_ITEM_TO_CLIPBOARD', this.item)
events.$emit('file-preview:show')
} else if (this.isFile || !this.isFolder && !this.isVideo && !this.isAudio && !this.isImage) {
@@ -21,7 +21,7 @@
<!--File Icon-->
<div v-if="isFile || isVideo || (isImage && !entry.data.attributes.thumbnail)" class="flex items-center justify-center pr-2">
<span class="text-theme dark-text-theme text-xs font-semibold absolute z-10 inline-block mx-auto mt-2 w-7 overflow-ellipsis overflow-hidden text-center">
<span class="text-theme dark-text-theme text-xs font-semibold absolute z-10 inline-block mx-auto mt-1 w-7 overflow-ellipsis overflow-hidden text-center">
{{ entry.data.attributes.mimetype }}
</span>
@@ -42,8 +42,8 @@
@import "resources/sass/vuefilemanager/_mixins";
.options {
position: absolute;
padding-bottom: 12px;
position: fixed;
padding-bottom: 25px;
bottom: 0;
left: 0;
right: 0;
@@ -27,7 +27,7 @@
@media only screen and (max-width: 690px) {
.actions {
padding: 15px;
padding: 15px 15px 35px;
position: absolute;
bottom: 0;
left: 0;
@@ -116,7 +116,7 @@
overflow: hidden;
}
.popup-wrapper {
position: absolute;
position: fixed;
top: 0;
bottom: 0;
right: 0;
+1 -1
View File
@@ -51,7 +51,7 @@
@import '/resources/sass/vuefilemanager/_mixins';
.vignette {
position: absolute;
position: fixed;
top: 0;
right: 0;
left: 0;