-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor header styles and improve responsiveness for better UX #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
63b8899
6f885f8
6d86ac7
2c8d37f
89fb74e
d9ce7c0
47a5035
b9f72a5
0951fb0
10f6eca
8252d9e
126db00
69f46b6
db7b120
b116b37
0d9de3f
8091cc6
9f1cd5b
9da01d0
e56f639
87f6685
c2a5337
a302c0d
518ed78
9f1e1d1
6e18f6a
90c8d33
a9289c0
d027163
fe7ebdf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,21 +22,11 @@ | |||||||||||||||||||||
|
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| .header-content { | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| flex-direction: column; | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| align-items: flex-start; | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| .data-time-box { | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| align-self: stretch; | ||||||||||||||||||||||
| justify-content: flex-end; | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| justify-content: space-between; | ||||||||||||||||||||||
| gap: 8px; | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
|
@@ -161,6 +151,50 @@ | |||||||||||||||||||||
|
|
||||||||||||||||||||||
| @media (max-width: 480px) { | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| .header { | ||||||||||||||||||||||
| margin-bottom: 20px; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| .header-content { | ||||||||||||||||||||||
| flex-wrap: wrap; | ||||||||||||||||||||||
| gap: 8px; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| .data-time-box { | ||||||||||||||||||||||
| width: 100%; | ||||||||||||||||||||||
| justify-content: space-between; | ||||||||||||||||||||||
| flex-wrap: wrap; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| .time-label { | ||||||||||||||||||||||
| display: none; | ||||||||||||||||||||||
|
||||||||||||||||||||||
| display: none; | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| padding: 0; | |
| margin: -1px; | |
| overflow: hidden; | |
| clip: rect(0, 0, 0, 0); | |
| white-space: nowrap; | |
| border: 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.time-labelis nowdisplay: noneunconditionally, which removes the visible (and screen-reader) context for what#updateTimerepresents. If the label should be visually hidden for layout reasons, consider keeping it accessible (e.g., via a visually-hidden utility) or adding anaria-label/aria-labelledbyrelationship so the update time still has a meaningful accessible name.