-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresponsive-fix.css
More file actions
58 lines (49 loc) · 1.04 KB
/
responsive-fix.css
File metadata and controls
58 lines (49 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* Base styles */
.period-date {
display: flex;
flex-direction: column;
}
.full-date {
display: inline !important;
}
.short-date {
display: none !important;
font-weight: normal;
}
.cycle-length {
font-size: 0.85em;
color: #666;
background-color: #f5f5f5;
padding: 0.1rem 0.5rem;
border-radius: 3px;
display: inline-block;
width: fit-content;
margin-top: 0.2rem;
}
/* Responsive styles for small screens */
@media (max-width: 480px) {
.period-info {
flex-direction: row !important;
align-items: flex-start;
gap: 0.8rem;
width: 100%;
}
.date-container {
flex: 1;
}
.period-date {
white-space: normal !important;
}
/* Show short date and hide full date on small screens */
.full-date {
display: none !important;
}
.short-date {
display: inline !important;
}
.cycle-length {
margin-top: 0.2rem !important;
width: 100%;
text-align: left !important;
}
}