mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-13 21:17:21 +08:00
feat(ui): add horizontal scrolling to request timeline
This commit is contained in:
@@ -749,9 +749,33 @@ const getStatusColorClass = (status: string) => {
|
||||
.minimal-track {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0;
|
||||
padding: 2rem 0 2rem;
|
||||
justify-content: flex-start;
|
||||
gap: 64px;
|
||||
padding: 2rem;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
|
||||
/* 优化滚动体验 */
|
||||
scrollbar-width: thin; /* Firefox */
|
||||
scrollbar-color: hsl(var(--border)) transparent;
|
||||
}
|
||||
|
||||
/* Webkit 滚动条样式 */
|
||||
.minimal-track::-webkit-scrollbar {
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
.minimal-track::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.minimal-track::-webkit-scrollbar-thumb {
|
||||
background: hsl(var(--border));
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.minimal-track::-webkit-scrollbar-thumb:hover {
|
||||
background: hsl(var(--muted-foreground) / 0.5);
|
||||
}
|
||||
|
||||
.minimal-node-group {
|
||||
@@ -931,6 +955,7 @@ const getStatusColorClass = (status: string) => {
|
||||
.node-dot.status-available { color: #d1d5db; }
|
||||
|
||||
.node-line {
|
||||
position: absolute;
|
||||
width: 64px;
|
||||
height: 2px;
|
||||
background: hsl(var(--border));
|
||||
|
||||
Reference in New Issue
Block a user