aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.vue
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-02-28 16:39:47 +0000
committerShpuld Shpludson <shp@cock.li>2020-02-28 16:39:47 +0000
commit111c1ced676da55b5ccd8f119e5f069f53e04958 (patch)
treeec26cdbf70913cd5176a3345862d5af225991563 /src/components/status/status.vue
parentd19c64314ff08391a2649681e6b64d052e600059 (diff)
parent31225f5d142b51d52bed305f25a37288c9188062 (diff)
Merge branch 'fix/popover-performance' into 'develop'
Fix/popover performance See merge request pleroma/pleroma-fe!1066
Diffstat (limited to 'src/components/status/status.vue')
-rw-r--r--src/components/status/status.vue11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index 76b038d9..ca295640 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -177,6 +177,8 @@
<StatusPopover
v-if="!isPreview"
:status-id="status.in_reply_to_status_id"
+ class="reply-to-popover"
+ style="min-width: 0"
>
<a
class="reply-to"
@@ -572,11 +574,10 @@ $status-margin: 0.75em;
align-items: stretch;
> .reply-to-and-accountname > a {
+ overflow: hidden;
max-width: 100%;
text-overflow: ellipsis;
- overflow: hidden;
white-space: nowrap;
- display: inline-block;
word-break: break-all;
}
}
@@ -585,7 +586,6 @@ $status-margin: 0.75em;
display: flex;
height: 18px;
margin-right: 0.5em;
- overflow: hidden;
max-width: 100%;
.icon-reply {
transform: scaleX(-1);
@@ -596,6 +596,10 @@ $status-margin: 0.75em;
display: flex;
}
+ .reply-to-popover {
+ min-width: 0;
+ }
+
.reply-to {
display: flex;
}
@@ -603,6 +607,7 @@ $status-margin: 0.75em;
.reply-to-text {
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
margin: 0 0.4em 0 0.2em;
}