mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
1a16835d87
commit
667565f3fe
3 changed files with 4 additions and 4 deletions
|
@ -20,8 +20,8 @@
|
|||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
layout: 'modal',
|
||||
name: 'Authorize',
|
||||
layout: 'modal',
|
||||
middleware: ['auth'],
|
||||
async asyncData ({ $axios, query, error, req }) {
|
||||
const { client_id, redirect_uri, scope, response_type } = query
|
||||
|
|
|
@ -319,9 +319,9 @@ export default {
|
|||
margin-bottom: 25px;
|
||||
}
|
||||
.main_image {
|
||||
width: 100%;
|
||||
// width: 100%;
|
||||
margin: 0 auto;
|
||||
max-height: 80vh;
|
||||
// max-height: 120vh;
|
||||
border-radius: 5px;
|
||||
transition: max-height 0.2s;
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ const DiskStorage = {
|
|||
const outStream = fs.createWriteStream(finalPath)
|
||||
const thumbStream = fs.createWriteStream(thumbPath)
|
||||
|
||||
const resizer = sharp().resize(1200).jpeg({ quality: 95 })
|
||||
const resizer = sharp().resize(1200).jpeg({ quality: 98 })
|
||||
const thumbnailer = sharp().resize(400).jpeg({ quality: 90 })
|
||||
let onError = false
|
||||
const err = e => {
|
||||
|
|
Loading…
Reference in a new issue