blob: 46c21766b35d6b135dd703cb21c9d70b4cf439c1 [file] [log] [blame] [edit]
.commentList .ant-list-item {
min-height: 300px;
height: 300px;
box-sizing: border-box;
display: flex;
align-items: flex-start;
/* 可选:让内容垂直居中可用 align-items: center; */
}
.contentArea {
width: 100%;
max-width: 900px;
margin: 32px auto 0 auto;
padding: 0 16px 32px 16px;
display: flex;
flex-direction: column;
gap: 24px;
}
.card {
border-radius: 10px;
background: var(--card-bg);
}
.metaRow {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin-bottom: 8px;
}
.locked {
margin: 12px 0;
color: #d4380d;
font-weight: bold;
}
.contentText {
font-size: 17px;
color: var(--text-color);
line-height: 1.8;
margin-top: 12px;
}
.addCommentCard {
border-radius: 10px;
background: var(--card-bg);
}
.textarea {
font-size: 15px;
}
.commentListCard {
border-radius: 10px;
background: var(--card-bg);
}
.commentList .ant-list-item,
.replyList .ant-list-item {
min-height: 120px;
height: auto;
box-sizing: border-box;
display: flex;
align-items: flex-start;
border-bottom: 1px solid var(--border-color);
padding: 24px 16px;
}
.replyList {
margin-left: 32px;
background: transparent;
}
.replyItem {
background: #f6f8fa;
border-radius: 6px;
margin-bottom: 8px;
padding: 12px 16px;
}
@media (max-width: 600px) {
.contentArea {
max-width: 100%;
padding: 0 4px 24px 4px;
}
.card, .addCommentCard, .commentListCard {
padding: 0;
}
}