diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-03-21 15:44:26 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-03-21 15:44:26 +0000 |
| commit | 9890e414402ce19ab012d3fc8046bd6af537fd5c (patch) | |
| tree | 495fab56bbda17de803b85ba677c226433a4f506 /src/components/image_cropper/image_cropper.vue | |
| parent | 9e17853b2ce6fd494b1db2e2313876c24b6fddc6 (diff) | |
| parent | 3108722eda845cd3a8172b95e554b0dc8c8e444d (diff) | |
Merge branch 'feature/bypass-avatar-cropper' into 'develop'
#443 Add button to save without cropping
Closes #443
See merge request pleroma/pleroma-fe!691
Diffstat (limited to 'src/components/image_cropper/image_cropper.vue')
| -rw-r--r-- | src/components/image_cropper/image_cropper.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/image_cropper/image_cropper.vue b/src/components/image_cropper/image_cropper.vue index 24a6f3bd..129e6f46 100644 --- a/src/components/image_cropper/image_cropper.vue +++ b/src/components/image_cropper/image_cropper.vue @@ -7,6 +7,7 @@ <div class="image-cropper-buttons-wrapper"> <button class="btn" type="button" :disabled="submitting" @click="submit" v-text="saveText"></button> <button class="btn" type="button" :disabled="submitting" @click="destroy" v-text="cancelText"></button> + <button class="btn" type="button" :disabled="submitting" @click="submitWithoutCropping" v-text="saveWithoutCroppingText"></button> <i class="icon-spin4 animate-spin" v-if="submitting"></i> </div> <div class="alert error" v-if="submitError"> @@ -36,7 +37,11 @@ } &-buttons-wrapper { - margin-top: 15px; + margin-top: 10px; + + button { + margin-top: 5px; + } } } </style> |
