Add files via upload

This commit is contained in:
公明
2026-06-14 19:58:04 +08:00
committed by GitHub
parent 33e4f023b5
commit 04f8d73b0e
5 changed files with 78 additions and 93 deletions
+16 -43
View File
@@ -22684,18 +22684,29 @@ button.chat-files-dropdown-item:hover:not(:disabled) {
}
.projects-detail-title-row {
display: flex;
align-items: center;
align-items: flex-start;
flex-wrap: wrap;
gap: 10px;
}
.projects-detail-title {
flex: 1;
min-width: 0;
margin: 0;
font-size: 1.375rem;
font-weight: 600;
color: #0f172a;
letter-spacing: -0.02em;
line-height: 1.35;
word-break: break-word;
overflow-wrap: anywhere;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.projects-status-pill {
flex-shrink: 0;
margin-top: 4px;
display: inline-flex;
align-items: center;
font-size: 0.6875rem;
@@ -22717,56 +22728,18 @@ button.chat-files-dropdown-item:hover:not(:disabled) {
font-size: 0.8125rem;
color: #94a3b8;
}
.projects-detail-desc-block {
.projects-detail-desc {
margin: 10px 0 0;
max-width: min(640px, 100%);
}
.projects-detail-desc {
margin: 0;
font-size: 0.875rem;
color: #475569;
line-height: 1.55;
white-space: pre-wrap;
word-break: break-word;
overflow-wrap: anywhere;
}
.projects-detail-desc.is-collapsed {
max-height: 4.65em;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
position: relative;
}
.projects-detail-desc.is-collapsed::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 1.4em;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
pointer-events: none;
}
.projects-detail-desc.is-expanded {
max-height: min(240px, 32vh);
overflow-y: auto;
overscroll-behavior: contain;
padding-right: 4px;
}
.projects-detail-desc-toggle {
display: inline-block;
margin-top: 6px;
padding: 0;
border: none;
background: none;
color: #0066ff;
font-size: 0.8125rem;
font-weight: 500;
cursor: pointer;
line-height: 1.4;
}
.projects-detail-desc-toggle:hover,
.projects-detail-desc-toggle:focus-visible {
text-decoration: underline;
outline: none;
}
.projects-description-textarea {
max-height: 200px;