commit: 06042569f1d2f2c7217917459df007adbb113e53
parent 8ade11783aa4740a2cff61f27938f3408c3e0eb0
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 3 Feb 2022 22:10:45 +0200
fix alignment issues
Diffstat:
4 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss
@@ -3,7 +3,7 @@
.MentionLink {
position: relative;
white-space: normal;
- display: inline-block;
+ display: inline-flex;
color: var(--link);
& .new,
diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue
@@ -33,7 +33,7 @@
@import '../../_variables.scss';
.popover-trigger-button {
- display: block;
+ display: inline-block;
}
.popover {
diff --git a/src/components/status/status.scss b/src/components/status/status.scss
@@ -165,16 +165,23 @@ $status-margin: 0.75em;
align-content: baseline;
font-size: 12px;
line-height: 160%;
+ margin-top: 0.2em;
+ line-height: 130%;
+
max-width: 100%;
align-items: stretch;
}
& .reply-to-popover,
- & .reply-to-no-popover {
+ & .reply-to-no-popover,
+ & .mentions {
min-width: 0;
margin-right: 0.4em;
flex-shrink: 0;
}
+ .reply-glued-label {
+ margin-right: 0.5em;
+ }
.reply-to-popover {
.reply-to:hover::before {
@@ -209,7 +216,6 @@ $status-margin: 0.75em;
& .reply-to {
white-space: nowrap;
position: relative;
- padding-right: 0.25em;
}
& .mentions-text,
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
@@ -227,7 +227,7 @@
>
<span
v-if="isReply"
- class="glued-label"
+ class="glued-label reply-glued-label"
>
<StatusPopover
v-if="!isPreview"