feat: 帖子管理收进右上角菜单,手机端评论输入默认折叠
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4308,12 +4308,40 @@ a.post-title:visited {
|
||||
.post-detail-nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.post-detail-nav-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.post-detail-board-tag { margin: 0 !important; }
|
||||
|
||||
.post-manage-menu-trigger {
|
||||
flex-shrink: 0;
|
||||
gap: 4px;
|
||||
color: var(--color-text-2);
|
||||
}
|
||||
|
||||
.post-manage-menu {
|
||||
max-height: 70vh;
|
||||
overflow-y: auto;
|
||||
min-width: 11.5rem;
|
||||
}
|
||||
|
||||
.post-manage-menu-hint {
|
||||
font-weight: 400 !important;
|
||||
font-size: 12px !important;
|
||||
color: var(--color-text-3) !important;
|
||||
white-space: normal;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.post-detail-head { margin-bottom: 12px; }
|
||||
|
||||
.post-detail-title {
|
||||
@@ -4379,12 +4407,6 @@ a.post-title:visited {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.post-detail-edit-hint {
|
||||
font-size: 12px;
|
||||
color: var(--color-text-3);
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.post-revision-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
@@ -4960,8 +4982,7 @@ a.post-title:visited {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.post-detail-actions-primary,
|
||||
.post-detail-actions-manage {
|
||||
.post-detail-actions-primary {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
@@ -4969,12 +4990,6 @@ a.post-title:visited {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.post-detail-actions-manage {
|
||||
width: 100%;
|
||||
padding-top: 12px;
|
||||
border-top: 1px dashed var(--j13-border-light);
|
||||
}
|
||||
|
||||
.post-detail-more-btn {
|
||||
min-width: 36px;
|
||||
padding-inline: 10px;
|
||||
@@ -6215,6 +6230,61 @@ a.post-title:visited {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.comment-box-expanded-slot.is-collapsed {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.comment-composer-collapsed {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
min-height: 44px;
|
||||
padding: 8px 12px;
|
||||
border: 1px solid var(--j13-border-light);
|
||||
border-radius: 999px;
|
||||
background: var(--j13-bg-workspace, hsl(var(--muted)));
|
||||
color: var(--color-text-3);
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s ease, background 0.15s ease;
|
||||
}
|
||||
|
||||
.comment-composer-collapsed:hover {
|
||||
border-color: color-mix(in srgb, var(--j13-green) 40%, var(--j13-border-light));
|
||||
background: var(--j13-bg-surface);
|
||||
}
|
||||
|
||||
.comment-composer-collapsed-avatar {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
background: color-mix(in srgb, var(--j13-green) 18%, transparent);
|
||||
color: var(--j13-green);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.comment-composer-collapsed-avatar img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.comment-composer-collapsed-placeholder {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.comment-box-wrap.inline {
|
||||
padding: 12px 0 4px;
|
||||
border-bottom: none;
|
||||
@@ -7096,8 +7166,7 @@ a.waline-comment-author:hover {
|
||||
.post-detail-header { padding: 12px 14px 16px; }
|
||||
.post-detail-title { font-size: 17px; }
|
||||
.post-detail-actions { margin-top: 20px; padding-top: 16px; gap: 10px; }
|
||||
.post-detail-actions-primary,
|
||||
.post-detail-actions-manage { gap: 8px; }
|
||||
.post-detail-actions-primary { gap: 8px; }
|
||||
.comment-section-bar { padding: 12px 14px 10px; }
|
||||
.comment-section-bar::after { left: 14px; width: 32px; }
|
||||
.comment-section:hover .comment-section-bar::after { width: 46px; }
|
||||
|
||||
Reference in New Issue
Block a user