mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 11:00:39 +00:00
frontend refactoring
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<audio
|
||||
:class="{'file-shadow': ! this.$isMobile() }"
|
||||
:class="{'file-shadow': ! $isMobile() }"
|
||||
class="file audio"
|
||||
:src="file.file_url"
|
||||
controls>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<img
|
||||
id="printable-file"
|
||||
class="file"
|
||||
:class="{'file-shadow': ! this.$isMobile() }"
|
||||
:class="{'file-shadow': ! $isMobile() }"
|
||||
:src="file.file_url"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {events} from '@/bus'
|
||||
import {events} from '/resources/js/bus'
|
||||
import pdf from 'pdfvuer'
|
||||
|
||||
export default {
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
<style src="pdfvuer/dist/pdfvuer.css" lang="css"></style>
|
||||
<style lang="scss" scoped>
|
||||
@import '@assets/vuefilemanager/_variables';
|
||||
@import '/resources/sass/vuefilemanager/_variables';
|
||||
|
||||
#pdf-wrapper {
|
||||
border-radius: 8px;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<video
|
||||
:src="file.file_url"
|
||||
class="video"
|
||||
:class="{'file-shadow': !this.$isMobile() }"
|
||||
:class="{'file-shadow': !$isMobile() }"
|
||||
controlsList="nodownload"
|
||||
disablePictureInPicture
|
||||
playsinline
|
||||
@@ -23,7 +23,7 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import '@assets/vuefilemanager/_variables';
|
||||
@import '/resources/sass/vuefilemanager/_variables';
|
||||
|
||||
.video-wrapper {
|
||||
max-width: 1080px;
|
||||
|
||||
Reference in New Issue
Block a user