From 8afe0e8a0466ddbb941fdda4b8fc596d85a1e470 Mon Sep 17 00:00:00 2001 From: zerosoul Date: Sun, 10 Apr 2022 09:59:00 +0800 Subject: [PATCH] chore: border to box-shadow --- src/common/component/Message/Reaction.js | 2 +- src/routes/chat/styled.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/component/Message/Reaction.js b/src/common/component/Message/Reaction.js index 77a536bc..4f2a88d4 100644 --- a/src/common/component/Message/Reaction.js +++ b/src/common/component/Message/Reaction.js @@ -37,7 +37,7 @@ const StyledWrapper = styled.span` background-color: #cff9fe; } &.reacted { - border: 1px solid #06aed4; + box-shadow: inset 0 0 0 1px #06aed4; background-color: #a5f0fc; } diff --git a/src/routes/chat/styled.js b/src/routes/chat/styled.js index d95fcb8f..ac6535be 100644 --- a/src/routes/chat/styled.js +++ b/src/routes/chat/styled.js @@ -128,7 +128,7 @@ const StyledWrapper = styled.div` } /* drop files effect */ .drop_over { - outline: 2px solid #52edff; + box-shadow: inset 0 0 0 2px #52edff; } } &.collapse {