chore: tweak UI

This commit is contained in:
Tristan Yang
2023-02-17 21:40:52 +08:00
parent d1bbd6e4a2
commit 3fa0a05f1a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -235,6 +235,9 @@ html.dark ::-webkit-scrollbar-thumb {
flex-direction: column;
align-items: flex-start;
}
#MARKDOWN_CONTAINER .toastui-editor-contents iframe {
width: 100%;
}
[class^="toastui-editor-"] .toastui-editor-md-container {
border-bottom: none;
}
+1 -1
View File
@@ -109,7 +109,7 @@ const Layout: FC<Props> = ({
<article ref={drop} className={`relative w-full rounded-r-2xl`}>
{header}
<main className="h-full w-full flex items-start justify-between relative" ref={messagesContainer}>
<div className="rounded-br-2xl w-full flex flex-col h-[calc(100vh_-_56px_-_18px)]">
<div className="rounded-br-2xl w-full flex flex-col h-[calc(100vh_-_64px)] md:h-[calc(100vh_-_56px_-_18px)]">
{children}
<div className={`px-2 py-0 md:p-4 ${selects ? "selecting" : ""}`}>
{readonly ? (