diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-02-20 15:11:33 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-02-20 15:11:33 +0000 |
| commit | ddee8bb686fb18baf5212089653a8b4e40feedd6 (patch) | |
| tree | e200f269c3f8faca1f502cf416f0841126b52d9b /src/components/flash/flash.vue | |
| parent | 56616787ec1b8373e5c160c6fe863694a66ca2db (diff) | |
| parent | befd4d5fc787d3f8287456dbf5d1a6c70419591f (diff) | |
Merge branch 'proper-attachments' into 'develop'
Attachment improvements
See merge request pleroma/pleroma-fe!1399
Diffstat (limited to 'src/components/flash/flash.vue')
| -rw-r--r-- | src/components/flash/flash.vue | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/src/components/flash/flash.vue b/src/components/flash/flash.vue index d20d037b..95f71950 100644 --- a/src/components/flash/flash.vue +++ b/src/components/flash/flash.vue @@ -36,13 +36,6 @@ </p> </span> </button> - <button - v-if="player" - class="button-unstyled hider" - @click="closePlayer" - > - <FAIcon icon="stop" /> - </button> </div> </template> @@ -51,8 +44,9 @@ <style lang="scss"> @import '../../_variables.scss'; .Flash { + display: inline-block; width: 100%; - height: 260px; + height: 100%; position: relative; .player { @@ -60,6 +54,16 @@ width: 100%; } + .placeholder { + height: 100%; + width: 100%; + display: flex; + align-items: center; + justify-content: center; + background: var(--bg); + color: var(--link); + } + .hider { top: 0; } @@ -76,13 +80,5 @@ display: none; visibility: 'hidden'; } - - .placeholder { - height: 100%; - flex: 1; - display: flex; - align-items: center; - justify-content: center; - } } </style> |
