diff options
| author | jasper <jasper92341@hotmail.com> | 2019-03-18 18:19:42 -0700 |
|---|---|---|
| committer | jasper <jasper92341@hotmail.com> | 2019-03-18 18:19:42 -0700 |
| commit | 3108722eda845cd3a8172b95e554b0dc8c8e444d (patch) | |
| tree | 69ff534d5a9bf3a2ce2645eb9bb75f659d12c44f /src/components/image_cropper/image_cropper.vue | |
| parent | 96f9eab7009b30ea71b94c1f4de5180e25b2d75f (diff) | |
Add button to save without cropping
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> |
