forked from AkkomaGang/akkoma-fe
fix post form/dropzone for good (?)
This commit is contained in:
parent
f4447eb3a0
commit
0db756b4a5
1 changed files with 9 additions and 11 deletions
|
@ -8,15 +8,6 @@
|
||||||
@submit.prevent
|
@submit.prevent
|
||||||
@dragover.prevent="fileDrag"
|
@dragover.prevent="fileDrag"
|
||||||
>
|
>
|
||||||
<div
|
|
||||||
v-show="showDropIcon !== 'hide'"
|
|
||||||
:style="{ animation: showDropIcon === 'show' ? 'fade-in 0.25s' : 'fade-out 0.5s' }"
|
|
||||||
class="drop-indicator"
|
|
||||||
@dragleave="fileDragStop"
|
|
||||||
@drop.stop="fileDrop"
|
|
||||||
>
|
|
||||||
<FAIcon :icon="uploadFileLimitReached ? 'ban' : 'upload'" />
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<i18n-t
|
<i18n-t
|
||||||
v-if="!$store.state.users.currentUser.locked && newStatus.visibility == 'private' && !disableLockWarning"
|
v-if="!$store.state.users.currentUser.locked && newStatus.visibility == 'private' && !disableLockWarning"
|
||||||
|
@ -277,6 +268,15 @@
|
||||||
{{ $t('post_status.post') }}
|
{{ $t('post_status.post') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
v-show="showDropIcon !== 'hide'"
|
||||||
|
:style="{ animation: showDropIcon === 'show' ? 'fade-in 0.25s' : 'fade-out 0.5s' }"
|
||||||
|
class="drop-indicator"
|
||||||
|
@dragleave="fileDragStop"
|
||||||
|
@drop.stop="fileDrop"
|
||||||
|
>
|
||||||
|
<FAIcon :icon="uploadFileLimitReached ? 'ban' : 'upload'" />
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="error"
|
v-if="error"
|
||||||
class="alert error"
|
class="alert error"
|
||||||
|
@ -509,7 +509,6 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 0.25em 0.5em 0.5em;
|
padding: 0.25em 0.5em 0.5em;
|
||||||
line-height:24px;
|
line-height:24px;
|
||||||
z-index: 10;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
form textarea.form-cw {
|
form textarea.form-cw {
|
||||||
|
@ -572,7 +571,6 @@
|
||||||
|
|
||||||
.drop-indicator {
|
.drop-indicator {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 11;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: 5em;
|
font-size: 5em;
|
||||||
|
|
Loading…
Reference in a new issue