alpha
Login
or
Join now
danabra.mov
/
sidetrail
Star
1
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
an app to share curated trails
sidetrail.app
Star
1
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix overflow on mobile
author
Dan Abramov
date
6 months ago
(Dec 7, 2025, 2:31 AM +0900)
commit
cc738969
cc738969feee1d705cb0a83f752ae6b6f687d0e7
parent
4398879e
4398879ec4ae2a1f03aaba8d939437e806de003d
+31
-8
3 changed files
Expand all
Collapse all
Unified
Split
app
(home)
drafts
DraftsClientPage.tsx
walking
HomeWalkingPill.css
at
(trail)
[handle]
trail
[rkey]
TrailProgress.css
+1
-1
app/(home)/drafts/DraftsClientPage.tsx
Reviewed
···
44
44
accentColor={draft.accentColor}
45
45
backgroundColor={draft.backgroundColor}
46
46
linkTo={`/drafts/${draft.rkey}`}
47
47
-
dots={[]}
47
47
+
dots={Array(draft.stopsCount).fill("upcoming")}
48
48
onDelete={() => handleDelete(draft.rkey)}
49
49
deleteLabel="delete draft"
50
50
deleteConfirmMessage="delete this draft?"
+8
-1
app/(home)/walking/HomeWalkingPill.css
Reviewed
···
80
80
display: flex;
81
81
align-items: center;
82
82
gap: 0;
83
83
+
min-width: 0;
84
84
+
flex: 1 1 0;
83
85
}
84
86
85
87
.HomeWalkingPill-dotWrapper {
86
88
display: flex;
87
89
align-items: center;
90
90
+
flex-shrink: 1;
91
91
+
min-width: 0;
88
92
}
89
93
90
94
.HomeWalkingPill-dot {
91
95
width: 12px;
92
96
height: 12px;
93
97
border-radius: 50%;
98
98
+
flex-shrink: 0;
94
99
transition: all 0.3s ease;
95
100
}
96
101
···
121
126
122
127
.HomeWalkingPill-line {
123
128
width: 20px;
129
129
+
min-width: 2px;
124
130
height: 2px;
125
131
background-color: rgba(0, 0, 0, 0.08);
126
126
-
margin: 0 4px;
132
132
+
margin: 0 2px;
133
133
+
flex-shrink: 1;
127
134
}
128
135
129
136
@media (prefers-color-scheme: dark) {
+22
-6
app/at/(trail)/[handle]/trail/[rkey]/TrailProgress.css
Reviewed
···
28
28
display: flex;
29
29
align-items: center;
30
30
gap: 0;
31
31
+
min-width: 0;
32
32
+
flex: 1 1 0;
33
33
+
justify-content: center;
31
34
}
32
35
33
36
.TrailProgress-nodeWrapper {
34
37
display: flex;
35
38
align-items: center;
39
39
+
flex-shrink: 1;
40
40
+
min-width: 0;
36
41
}
37
42
38
43
.TrailProgress-node {
39
44
width: 8px;
40
45
height: 8px;
41
46
border-radius: 50%;
42
42
-
transition: all 0.4s ease;
47
47
+
transition:
48
48
+
transform 0.2s ease,
49
49
+
opacity 0.2s ease,
50
50
+
box-shadow 0.2s ease;
43
51
position: relative;
52
52
+
flex-shrink: 0;
44
53
}
45
54
46
55
.TrailProgress-node--clickable {
···
92
101
box-shadow: 0 0 0 4px var(--accent-color-transparent);
93
102
}
94
103
50% {
95
95
-
box-shadow: 0 0 0 5px var(--accent-color-transparent);
104
104
+
box-shadow: 0 0 0 6px var(--accent-color-transparent);
96
105
}
97
106
}
98
107
···
123
132
124
133
.TrailProgress-line {
125
134
width: 14px;
135
135
+
min-width: 2px;
126
136
height: 2px;
127
137
background-color: rgba(0, 0, 0, 0.08);
128
128
-
margin: 0 2px;
129
129
-
flex-shrink: 0;
138
138
+
margin: 0 1px;
139
139
+
flex-shrink: 1;
130
140
}
131
141
132
142
@media (prefers-color-scheme: dark) {
···
199
209
200
210
.TrailProgress-line {
201
211
width: 18px;
202
202
-
margin: 0 3px;
212
212
+
min-width: 3px;
213
213
+
margin: 0 2px;
203
214
}
204
215
}
205
216
···
209
220
gap: 2rem;
210
221
}
211
222
223
223
+
.TrailProgress-path {
224
224
+
flex: 0 1 auto;
225
225
+
}
226
226
+
212
227
.TrailProgress-node {
213
228
width: 12px;
214
229
height: 12px;
···
220
235
221
236
.TrailProgress-line {
222
237
width: 24px;
223
223
-
margin: 0 4px;
238
238
+
min-width: 4px;
239
239
+
margin: 0 3px;
224
240
}
225
241
226
242
.TrailProgress-statusWalking,