refactor: markdown UX

This commit is contained in:
zerosoul
2022-03-28 20:47:17 +08:00
parent 774bf2c335
commit ffb53e14d4
30 changed files with 1485 additions and 574 deletions
+12 -2
View File
@@ -5,20 +5,30 @@ const StyledSend = styled.div`
background: #e5e7eb;
border-radius: var(--br);
width: 100%;
/* width: fit-content; */
/* min-height: 54px; */
display: flex;
align-items: flex-start;
justify-content: space-between;
align-items: flex-start;
gap: 15px;
padding: 14px 18px;
/* margin: 0 16px; */
&.markdown {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto;
gap: 0;
.input {
grid-column: span 2;
}
}
&.reply {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.input {
width: 100%;
/* padding: 4px 0; */
}
`;