Skip to content

Commit 782f1f5

Browse files
committed
Good enough note dialogue for now
1 parent af91aa9 commit 782f1f5

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/components/right-sidebar/noteDialogue.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -151,46 +151,44 @@ const NotesDialog = ({ open, event, onClose }: DialogProps) => {
151151
gap: 2,
152152
}}
153153
>
154-
<Typography variant="h6" sx={{ fontWeight: "bold" }}>
154+
<Typography
155+
variant="h6"
156+
sx={{ fontWeight: "bold", fontSize: "1.3rem" }}
157+
>
155158
Event Information
156159
</Typography>
157160

158161
<Box
159162
sx={{
160163
display: "grid",
161164
gridTemplateColumns: "repeat(auto-fit, minmax(200px, 1fr))",
162-
gap: 1,
163165
}}
164166
>
165-
<Typography>
167+
<Typography sx={{ fontSize: "1.1rem" }}>
166168
<strong>Date:</strong> {event.date}
167169
</Typography>
168-
<Typography>
170+
<Typography sx={{ fontSize: "1.1rem" }}>
169171
<strong>Start Time:</strong> {event.start}
170172
</Typography>
171-
<Typography>
173+
<Typography sx={{ fontSize: "1.1rem" }}>
172174
<strong>Distance:</strong> {event.distance}
173175
</Typography>
174-
<Typography>
176+
<Typography sx={{ fontSize: "1.1rem" }}>
175177
<strong>Time:</strong> {event.time}
176178
</Typography>
177-
<Typography>
179+
<Typography sx={{ fontSize: "1.1rem" }}>
178180
<strong>Type:</strong> {event.type}
179181
</Typography>
180-
<Typography>
181-
<strong>Link:</strong>{" "}
182+
<Typography sx={{ fontSize: "1.1rem" }}>
183+
<strong>Link: </strong>
182184
<a href={event.link} target="_blank" rel="noopener noreferrer">
183185
Website
184186
</a>
185187
</Typography>
186188
</Box>
187189

188190
<Box sx={{ mt: 2 }}>
189-
<Typography variant="subtitle1" sx={{ fontWeight: "bold", mb: 1 }}>
190-
Ratings
191-
</Typography>
192-
193-
<Box sx={{ display: "flex", flexWrap: "wrap", gap: 2 }}>
191+
<Box sx={{ display: "flex", flexWrap: "wrap", gap: 5 }}>
194192
{[
195193
{ label: "Exertion", value: event.ratings.exertion },
196194
{
@@ -204,7 +202,9 @@ const NotesDialog = ({ open, event, onClose }: DialogProps) => {
204202
key={idx}
205203
sx={{ display: "flex", flexDirection: "column" }}
206204
>
207-
<Typography sx={{ fontWeight: "bold", mb: 0.5 }}>
205+
<Typography
206+
sx={{ fontWeight: "bold", mb: 0.75, fontSize: "1.1rem" }}
207+
>
208208
{label}
209209
</Typography>
210210
<Rating rating={value} size="medium" />

0 commit comments

Comments
 (0)