aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_form
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2021-03-01 18:15:46 +0000
committerShpuld Shpludson <shp@cock.li>2021-03-01 18:15:46 +0000
commitc3fcbbd918ddef4e3f574a464fd10f4899bb2dce (patch)
tree695ccbd352c82cb0f08fc78ff85bf23888561a8e /src/components/post_status_form
parent320418d524a33c20d7d769c8d67a25be81f251ec (diff)
parent0ac34b3014a1499ef5f3de7d3c321119dd10ab26 (diff)
Merge branch 'rc/2.3.0' into 'master'
2.3.0 to MASTER See merge request pleroma/pleroma-fe!1366
Diffstat (limited to 'src/components/post_status_form')
-rw-r--r--src/components/post_status_form/post_status_form.vue26
1 files changed, 6 insertions, 20 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue
index ed830f57..73f6a4f1 100644
--- a/src/components/post_status_form/post_status_form.vue
+++ b/src/components/post_status_form/post_status_form.vue
@@ -302,11 +302,12 @@
:key="file.url"
class="media-upload-wrapper"
>
- <FAIcon
- class="fa-scale-110 fa-old-padding"
- icon="times"
+ <button
+ class="button-unstyled hider"
@click="removeMediaFile(file)"
- />
+ >
+ <FAIcon icon="times" />
+ </button>
<attachment
:attachment="file"
:set-media="() => $store.dispatch('setMedia', newStatus.files)"
@@ -516,26 +517,11 @@
}
.attachments .media-upload-wrapper {
- padding: 0 0.5em;
+ position: relative;
.attachment {
margin: 0;
padding: 0;
- position: relative;
- }
-
- .fa-scale-110 fa-old-padding {
- position: absolute;
- margin: 10px;
- margin: .75em;
- padding: .5em;
- background: rgba(230,230,230,0.6);
- z-index: 2;
- color: black;
- border-radius: $fallback--attachmentRadius;
- border-radius: var(--attachmentRadius, $fallback--attachmentRadius);
- font-weight: bold;
- cursor: pointer;
}
}