aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-02-03 22:10:45 +0200
committerHenry Jameson <me@hjkos.com>2022-02-03 22:10:45 +0200
commit06042569f1d2f2c7217917459df007adbb113e53 (patch)
treeab57bf3114a7849aa116041d1a8b940f6302600c /src
parent8ade11783aa4740a2cff61f27938f3408c3e0eb0 (diff)
fix alignment issues
Diffstat (limited to 'src')
-rw-r--r--src/components/mention_link/mention_link.scss2
-rw-r--r--src/components/popover/popover.vue2
-rw-r--r--src/components/status/status.scss10
-rw-r--r--src/components/status/status.vue2
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
index 03306dcc..23d18f59 100644
--- 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
index 2e78a09e..8588b351 100644
--- 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
index 71305dd7..24c840ac 100644
--- 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
index 2684e415..3bb29db6 100644
--- 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"