diff --git a/package.json b/package.json index 650b7331cc..626b0d2137 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "13.0.6", + "version": "13.0.7", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index e350c48dad..27e05c6a19 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -424,9 +424,11 @@ function readPromo() { } > .article { - display: flex; padding: 28px 32px 18px; cursor: pointer; + display: grid; + align-items: center; + grid-template-columns: 58px; @media (pointer: coarse) { cursor: default; @@ -436,20 +438,42 @@ function readPromo() { flex-shrink: 0; display: block; margin: 0 14px 8px 0; - width: 52px; - height: 52px; - position: sticky; + grid-row: 1 / span 2; + width: 48px; + height: 48px; + position: relative; /* For some reason this breaks avatar positions on notes, commenting it for now */ /* top: var(--stickyTop, 0px); */ + top: 0; left: 0; } > .main { flex: 1; min-width: 0; + display: contents; + + > .header { + display: contents; + } + + > .name, .info { + grid-row: 1; + } + + > .username, .ticker { + grid-row: 2; + font-size: .9em; + align-self: flex-start; + } > .body { + margin-top: .2em; + overflow: hidden; + margin-inline: -100px; + padding-inline: 100px; + > .cw { cursor: default; display: block; diff --git a/packages/client/src/components/MkNoteDetailed.vue b/packages/client/src/components/MkNoteDetailed.vue index cfa56a019d..d83527f4c6 100644 --- a/packages/client/src/components/MkNoteDetailed.vue +++ b/packages/client/src/components/MkNoteDetailed.vue @@ -405,19 +405,28 @@ if (appearNote.replyId) { } > .article { - padding: 32px; - font-size: 1.2em; + padding: 28px 32px 18px; + cursor: pointer; + display: grid; + align-items: center; + grid-template-columns: 58px; > .header { display: flex; position: relative; margin-bottom: 16px; + display: contents; > .avatar { - display: block; flex-shrink: 0; - width: 52px; - height: 52px; + display: block; + margin: 0 14px 8px 0; + grid-row: 1 / span 2; + width: 48px; + height: 48px; + position: relative; + top: 0; + left: 0; } > .body { @@ -427,6 +436,10 @@ if (appearNote.replyId) { justify-content: center; padding-left: 16px; font-size: 0.95em; + margin-top: .2em; + overflow: hidden; + margin-inline: -100px; + padding-inline: 100px; > .top { > .name { diff --git a/packages/client/src/components/MkNoteHeader.vue b/packages/client/src/components/MkNoteHeader.vue index bb51481c21..d9fabc032c 100644 --- a/packages/client/src/components/MkNoteHeader.vue +++ b/packages/client/src/components/MkNoteHeader.vue @@ -16,7 +16,7 @@