Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: edit answer bottom line changed #423

shuai9bb577153699
diff --git a/ui/src/pages/Questions/EditAnswer/index.scss b/ui/src/pages/Questions/EditAnswer/index.scss
index e9a156cf..64ffeaa7 100644
--- a/ui/src/pages/Questions/EditAnswer/index.scss
+++ b/ui/src/pages/Questions/EditAnswer/index.scss
@@ -24,13 +24,13 @@
width: 16px;
min-height: 50px;
resize: vertical;
- transform: scale(100, 1);
+ transform: scale(110, 1);
height: 100%;
}
.resize-bottom + .line {
left: 0;
width: 100%;
- height: 12px;
+ height: 16px;
top: auto;
bottom: 0;
}
diff --git a/ui/src/pages/Questions/EditAnswer/index.tsx b/ui/src/pages/Questions/EditAnswer/index.tsx
index 00e6fad1..c3b1342f 100644
--- a/ui/src/pages/Questions/EditAnswer/index.tsx
+++ b/ui/src/pages/Questions/EditAnswer/index.tsx
@@ -198,7 +198,7 @@ const Index = () => {
<div className="question-content-wrap">
<div
ref={questionContentRef}
- className="content position-absolute top-0 w-100"
+ className="content position-absolute top-0 w-100 bg-white"
dangerouslySetInnerHTML={{ __html: data?.question.html }}
/>
<div
@@ -206,7 +206,7 @@ const Index = () => {
style={{ maxHeight: questionContentRef?.current?.scrollHeight }}
/>
<div className="line bg-light d-flex justify-content-center align-items-center">
- <Icon name="three-dots" />
+ <Icon type="bi" name="grip-horizontal" className="mt-1" />
</div>
</div>