Skip to content

Commit e6a0dab

Browse files
authored
fix(comments): improve multiline comment input styling (#2242)
Replace pill shape (border-radius: 9999px) with rounded rect (12px) on comment and reply input wrappers. Add max-height with overflow scroll so long replies stay contained instead of stretching the card.
1 parent 580252a commit e6a0dab

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

packages/superdoc/src/components/CommentsLayer/CommentDialog.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -864,10 +864,12 @@ watch(editingCommentId, (commentId) => {
864864
/* ── New comment input ── */
865865
.new-comment-input-wrapper {
866866
border: 1.5px solid var(--sd-border-default, #dbdbdb);
867-
border-radius: 9999px;
867+
border-radius: 12px;
868868
padding: 8.5px 10.5px;
869869
background: var(--sd-surface-card, #ffffff);
870870
margin-top: 4px;
871+
max-height: 150px;
872+
overflow-y: auto;
871873
}
872874
.new-comment-input-wrapper :deep(.comment-entry) {
873875
border-radius: 0;
@@ -909,9 +911,11 @@ watch(editingCommentId, (commentId) => {
909911
}
910912
.reply-input-wrapper {
911913
border: 1.5px solid var(--sd-border-default, #dbdbdb);
912-
border-radius: 9999px;
914+
border-radius: 12px;
913915
padding: 8.5px 10.5px;
914916
background: var(--sd-surface-card, #ffffff);
917+
max-height: 150px;
918+
overflow-y: auto;
915919
}
916920
.reply-input-wrapper :deep(.comment-entry) {
917921
border-radius: 0;

0 commit comments

Comments
 (0)