From 99e936bf2b5a0083ff153367710ce3a3f5ac7156 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 15 Apr 2021 23:34:12 +0900 Subject: [PATCH] Tweak style --- src/client/pages/messaging/messaging-room.message.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/client/pages/messaging/messaging-room.message.vue b/src/client/pages/messaging/messaging-room.message.vue index 3755bc2b5c..8c275d5e33 100644 --- a/src/client/pages/messaging/messaging-room.message.vue +++ b/src/client/pages/messaging/messaging-room.message.vue @@ -85,6 +85,8 @@ export default defineComponent({ display: flex; > .avatar { + position: sticky; + top: calc(var(--stickyTop, 0px) + 16px); display: block; width: 54px; height: 54px; @@ -274,6 +276,11 @@ export default defineComponent({ background: $me-balloon-color; text-align: left; + ::selection { + color: var(--accent); + background-color: #fff; + } + &.noText { background: transparent; }