diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 8fdefcbfa3..5b87ebdace 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -32,10 +32,9 @@
- +
-

@@ -426,9 +425,6 @@ function readPromo() { > .article { padding: 28px 32px 18px; cursor: pointer; - display: grid; - align-items: center; - grid-template-columns: 58px; @media (pointer: coarse) { cursor: default; @@ -438,7 +434,6 @@ function readPromo() { flex-shrink: 0; display: block; margin: 0 14px 8px 0; - grid-row: 1 / span 2; width: 48px; height: 48px; position: relative; @@ -449,38 +444,9 @@ function readPromo() { > .main { flex: 1; min-width: 0; - display: contents; - - > header.header { - display: contents; - - > .name, .info { - grid-row: 1; - } - } - - > :not(.ticker) { - grid-column: 1 / span 3; - width: 100%; - max-width: 100%; - } - - > .name, .info { - grid-row: 1; - } - - > .ticker { - grid-row: 2; - align-self: flex-start; - margin-left: auto; - } - - > .ticker { - font-size: 0.9em; - } > .body { - margin-top: .2em; + margin-top: .7em; overflow: hidden; margin-inline: -100px; padding-inline: 100px; @@ -569,6 +535,10 @@ function readPromo() { } } + > .files { + margin-top: .7em; + margin-bottom: .4em; + } > .url-preview { margin-top: 8px; } diff --git a/packages/client/src/components/MkNoteHeader.vue b/packages/client/src/components/MkNoteHeader.vue index 7be4b00425..2cbed86b76 100644 --- a/packages/client/src/components/MkNoteHeader.vue +++ b/packages/client/src/components/MkNoteHeader.vue @@ -1,16 +1,24 @@ @@ -31,53 +39,63 @@ defineProps<{