From 9f29782b2eadb7f3d43a68096ba26ace3d59d306 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Thu, 5 Jan 2023 11:08:23 -0500 Subject: [PATCH] fixes & tweaks --- .../src/components/MkInstanceTicker.vue | 22 ++++--- packages/client/src/components/MkNote.vue | 35 +++++++---- .../client/src/components/MkNoteHeader.vue | 59 +++++++++++++++---- 3 files changed, 85 insertions(+), 31 deletions(-) diff --git a/packages/client/src/components/MkInstanceTicker.vue b/packages/client/src/components/MkInstanceTicker.vue index ebc02ec63..6ff894d70 100644 --- a/packages/client/src/components/MkInstanceTicker.vue +++ b/packages/client/src/components/MkInstanceTicker.vue @@ -33,28 +33,36 @@ const bg = { diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index bfe9a5d42..c7f398b3c 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -33,7 +33,10 @@
- +
+ + +

@@ -429,23 +432,29 @@ function readPromo() { cursor: default; } - > .avatar { - flex-shrink: 0; - display: block; - margin: 0 14px 8px 0; - width: 48px; - height: 48px; - position: relative; - top: 0; - left: 0; + .header-container { + display: flex; + > .avatar { + flex-shrink: 0; + display: block; + margin: 0 14px 8px 0; + width: 48px; + height: 48px; + position: relative; + top: 0; + left: 0; + } + > .header { + width: 0; + flex-grow: 1; + } } - > .main { flex: 1; min-width: 0; > .body { - margin-top: .7em; + margin-top: .2em; overflow: hidden; margin-inline: -100px; padding-inline: 100px; @@ -535,7 +544,7 @@ function readPromo() { } > .files { - margin-top: .7em; + margin-top: .4em; margin-bottom: .4em; } > .url-preview { diff --git a/packages/client/src/components/MkNoteHeader.vue b/packages/client/src/components/MkNoteHeader.vue index 9e6ee7edf..dd1f11eca 100644 --- a/packages/client/src/components/MkNoteHeader.vue +++ b/packages/client/src/components/MkNoteHeader.vue @@ -1,6 +1,5 @@