fix(admin): improve mobile layout for program config section

This commit is contained in:
empty
2026-02-04 00:01:51 +08:00
parent 0f484f63d4
commit 69c789ba9d

View File

@@ -2320,9 +2320,11 @@ $admin-danger: #ef4444;
// Program Section Mobile
.program-config-item {
grid-template-columns: 32px 1fr 80px;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
padding: 10px 12px;
padding: 12px;
.program-team {
display: none;
@@ -2331,19 +2333,31 @@ $admin-danger: #ef4444;
.program-status {
font-size: 11px;
padding: 3px 8px;
margin-left: auto;
}
}
.program-actions {
grid-column: span 3;
justify-content: flex-end;
margin-top: 8px;
.program-order {
width: 28px;
height: 28px;
font-size: 12px;
flex-shrink: 0;
}
.program-order {
width: 24px;
height: 24px;
font-size: 12px;
.program-name {
flex: 0 1 auto;
max-width: 120px;
word-break: break-all;
}
.program-actions {
width: 100%;
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 4px;
padding-top: 8px;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
// Stats Section Mobile