diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue
index 776ba4eb9b..85dd479221 100644
--- a/packages/frontend/src/components/MkPostForm.vue
+++ b/packages/frontend/src/components/MkPostForm.vue
@@ -66,8 +66,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.notSpecifiedMentionWarning }} -
-
-
+
{{ maxTextLength - textLength }}
@@ -1098,16 +1097,6 @@ defineExpose({
}
}
-.colorBar {
- position: absolute;
- top: 0px;
- left: 12px;
- width: 5px;
- height: 100% ;
- border-radius: 999px;
- pointer-events: none;
-}
-
.submitInner {
padding: 0 12px;
line-height: 34px;
@@ -1236,6 +1225,18 @@ defineExpose({
width: 100%;
position: relative;
+ &::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 10px; // 10px + 4px + 10px = 24px
+ width: 4px;
+ height: 100%;
+ background: var(--channel-color, transparent);
+ border-radius: 2px;
+ pointer-events: none;
+ }
+
&.withCw {
padding-top: 8px;
}
@@ -1341,6 +1342,11 @@ defineExpose({
padding: 0 16px;
}
+ .textOuter::before {
+ left: 0;
+ border-radius: 0 4px 4px 0;
+ }
+
.text {
min-height: 80px;
}