chore: fixs tweaks and update texts

This commit is contained in:
zerosoul
2022-05-13 17:37:40 +08:00
parent f2d3272517
commit 873ee5f1de
11 changed files with 29 additions and 16 deletions
+3 -1
View File
@@ -100,7 +100,9 @@ function Message({
onContextMenu={handleContextMenuEvent}
data-msg-mid={mid}
ref={inviewRef}
className={`message ${readOnly ? "readonly" : ""}`}
className={`message ${readOnly ? "readonly" : ""} ${
contextMenuVisible ? "contextVisible" : ""
} `}
>
<Tippy
disabled={readOnly}
+1
View File
@@ -16,6 +16,7 @@ const StyledMsg = styled.div`
background: #f5f6f7;
}
&:hover,
&.contextVisible,
&.preview {
content-visibility: inherit;
contain-intrinsic-size: inherit;