{
}
)}
>
-
-
- Comments
-
-
+
- {renderComments()}
-
-
-
-
+ {
+ renderComments()
+ }
}
\ No newline at end of file
diff --git a/packages/app/src/components/CommentsCard/index.less b/packages/app/src/components/CommentsCard/index.less
index 12ac449b..faf3d78e 100755
--- a/packages/app/src/components/CommentsCard/index.less
+++ b/packages/app/src/components/CommentsCard/index.less
@@ -2,8 +2,19 @@
display: flex;
flex-direction: column;
+ max-height: 30vh;
+ width: 100%;
+
padding: 10px;
+
+ overflow-y: overlay;
+
+ border-radius: 12px;
+
color: var(--text-color);
+ background-color: var(--background-color-primary);
+
+ transition: all 150ms ease-in-out;
h1,
h2,
@@ -21,20 +32,13 @@
padding: 0px;
}
- overflow: hidden;
-
- width: 100%;
- //height: 100%;
-
- transition: all 150ms ease-in-out;
+ gap: 10px;
.comment {
position: relative;
display: flex;
flex-direction: column;
- margin-bottom: 10px;
-
background-color: var(--background-color-accent);
padding: 10px;
@@ -72,6 +76,9 @@
font-size: 14px;
color: var(--text-color);
margin-left: 20px;
+
+ word-break: break-all;
+ white-space: pre-wrap;
}
.deleteBtn {
@@ -87,17 +94,4 @@
}
}
}
-
- .commentCreatorWrapper {
- position: sticky;
- display: flex;
-
- flex-direction: column;
- align-items: center;
-
- bottom: 0;
- right: 0;
-
- width: 100%;
- }
}
\ No newline at end of file