1. 라우팅 최적화
2. API 호출 병렬 처리 3. UI개선 - 로딩 경험 개선 4. 반응형 디자인 5. API 통신 특이사항 - URL 구성 로직의 잠재적 위험 해결
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
.stock {
|
||||
display: grid;
|
||||
gap: 28px;
|
||||
/* Prevent overflow on small screens */
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.stock-header {
|
||||
@@ -66,7 +68,7 @@
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.stock-status > div {
|
||||
.stock-status>div {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
@@ -536,15 +538,39 @@
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.stock {
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.stock-panel {
|
||||
padding: 16px;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.stock-filter-row {
|
||||
gap: 12px;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.stock-header h1 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.stock-actions {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.stock-actions .button {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.stock-card {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.stock-status > div {
|
||||
.stock-status>div {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
@@ -568,13 +594,19 @@
|
||||
}
|
||||
|
||||
.stock-holdings__metric {
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
align-items: center;
|
||||
justify-items: start;
|
||||
gap: 8px 16px;
|
||||
}
|
||||
|
||||
/* Make the last item span full width if it's odd */
|
||||
.stock-holdings__metric>*:last-child:nth-child(odd) {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.stock-holdings__metric span {
|
||||
font-size: 12px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.stock-holdings__metric strong {
|
||||
@@ -591,4 +623,4 @@
|
||||
.stock-holdings__metric strong {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user