frontend: add the missing delete/suffix/date styles
Pedro Lucas Porcellis porcellis@eletrotupi.com · 12 days ago
96b6b65fa3a441d97c317cf1c2ee53661ad5b664 Browse filesParents
842d379Changed files
3
Additions
+14
Deletions
-1
frontend/app/entry/[id].tsx
1 1
import { useState, useEffect, use } from "react";
2 2
import {
3 3
StyleSheet,
4 4
View,
5 5
ScrollView,
406 406
lineHeight: 22,
407 407
color: Colors.light.textSecondary,
408 408
fontStyle: "italic",
409 409
padding: 4,
410 410
},
411 +
deleteInfo: {
412 +
marginTop: 4,
413 +
},
411 414
// Linked trigger cards
412 415
linkCard: {
413 416
padding: Spacing.cardGap,
414 417
overflow: "hidden",
415 418
gap: 10,
440 443
height: "100%",
441 444
borderRadius: 99,
442 445
},
443 446
444 447
});
frontend/app/sleep/[id].tsx
1 1
import { useState, useEffect, use } from "react";
2 2
import {
3 3
StyleSheet,
4 4
View,
5 5
ScrollView,
190 190
height: '100%',
191 191
fontSize: 24,
192 192
fontWeight: "700",
193 193
color: Colors.light.text,
194 194
},
195 -
averageLabelSuffix: {
195 +
suffixLabel: {
196 196
height: '100%',
197 197
fontSize: 17,
198 198
fontWeight: "700",
199 +
color: Colors.light.textSecondary,
200 +
},
201 +
dateLabel: {
202 +
fontSize: 13,
199 203
color: Colors.light.textSecondary,
200 204
},
201 205
centered: {
202 206
flex: 1,
203 207
justifyContent: "center",
286 290
fontSize: 14,
287 291
lineHeight: 22,
288 292
color: Colors.light.textSecondary,
289 293
fontStyle: "italic",
290 294
padding: 4,
295 +
},
296 +
deleteInfo: {
297 +
marginTop: 4,
291 298
},
292 299
});
frontend/app/triggers/[id].tsx
1 1
import { useState, useEffect, use } from "react";
2 2
import {
3 3
StyleSheet,
4 4
View,
5 5
ScrollView,
399 399
lineHeight: 22,
400 400
color: Colors.light.textSecondary,
401 401
fontStyle: "italic",
402 402
padding: 4,
403 403
},
404 +
deleteInfo: {
405 +
marginTop: 4,
406 +
},
404 407
// Linked mood cards
405 408
linkCard: {
406 409
padding: Spacing.cardGap,
407 410
overflow: "hidden",
408 411
gap: 10,
435 438
impactFill: {
436 439
height: "100%",
437 440
borderRadius: 99,
438 441
},
439 442
});