refactor: more TS code

This commit is contained in:
Tristan Yang
2022-07-25 23:14:27 +08:00
parent 17984a385e
commit 396a296c0b
21 changed files with 73 additions and 95 deletions
-7
View File
@@ -8,11 +8,6 @@ const StyledMsg = styled.div`
padding: 4px 8px;
margin: 8px 0;
border-radius: 8px;
/* content-visibility: auto;
contain-intrinsic-size: auto 150px; */
/* &.in_view {
content-visibility: visible;
} */
&[data-highlight="true"] {
background: #f5f6f7;
}
@@ -22,8 +17,6 @@ const StyledMsg = styled.div`
&:hover,
&.contextVisible,
&.preview {
/* content-visibility: inherit;
contain-intrinsic-size: inherit; */
background: #f5f6f7;
.cmds {
visibility: visible;