minor
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user