From ec60046469e6b978bcc12f4e5545062c50056720 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 16 Aug 2022 22:59:29 -0700 Subject: [PATCH] fix: :lipstick: style --- package.json | 2 +- packages/client/src/components/cw-button.vue | 9 ++++++--- packages/client/src/components/note.vue | 15 --------------- packages/client/src/components/notes.vue | 5 +++++ 4 files changed, 12 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 127236682d..e200aedfda 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", - "version": "12.118.1-calc.6.2", + "version": "12.118.1-calc.6.3", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/cw-button.vue b/packages/client/src/components/cw-button.vue index 8cec6c1a9d..d37bd5e13c 100644 --- a/packages/client/src/components/cw-button.vue +++ b/packages/client/src/components/cw-button.vue @@ -38,14 +38,17 @@ const toggle = () => { .nrvgflfu { display: inline-block; padding: 4px 8px; - font-size: 0.7em; + font-size: 0.8em; color: var(--cwFg); background: var(--cwBg); - border-radius: 2px; + padding: 6px 10px; + width: 90%; + border-radius: 10px; + margin-top: 10px; transition: background-color 0.25s ease-in-out; &:hover { - background: var(--cwHoverBg); + background: var(--X3); } > span { diff --git a/packages/client/src/components/note.vue b/packages/client/src/components/note.vue index f6a2504491..a3c51c03de 100644 --- a/packages/client/src/components/note.vue +++ b/packages/client/src/components/note.vue @@ -326,11 +326,6 @@ function readPromo() { border: solid 1px var(--focus); border-radius: var(--radius); box-sizing: border-box; - transition: background-color 0.25s ease-in-out; - - &:hover { - background-color: var(--panelHighlight); - } } } @@ -428,7 +423,6 @@ function readPromo() { > .article { display: flex; padding: 28px 32px 18px; - pointer-events: all; > .avatar { flex-shrink: 0; @@ -452,15 +446,6 @@ function readPromo() { margin: 0; padding: 0; overflow-wrap: break-word; - - > .button { - background: var(--X3); - padding: 6px 10px; - width: 90%; - border-radius: 10px; - margin-top: 10px; - } - > .text { margin-right: 8px; } diff --git a/packages/client/src/components/notes.vue b/packages/client/src/components/notes.vue index cf4edbc837..22f4f42966 100644 --- a/packages/client/src/components/notes.vue +++ b/packages/client/src/components/notes.vue @@ -51,6 +51,11 @@ defineExpose({ .qtqtichx { background: var(--panel); border-radius: var(--radius); + transition: background-color 0.25s ease-in-out; + + &:hover { + background-color: var(--panelHighlight); + } } } }