Link #19
Labels
No Label
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: www/www-new#19
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
added 1 design
assigned to @b38peng
unassigned @b38peng
assigned to @c29wan
changed the description
it's good practice to leave a line between css rules targeting different selectors :)
You should instead change the options for creating the time string. You can add
timeZoneName: 'short'
to the options for it to output time zone.does this work?
just wrapping the date with the time tag should be enough :)
you might need to wrap it with a span tho (and add the setting className to it) to make it behave correctly on mobiles.
You mean like
<time>{date}</time>
? or<span className={styles.setting}>{date}</span>
?mentioned in merge request !20
You can wrap the
{date}
with<time>
, and{time}
with<span>
Sorry I wasn't more clear earlier 🙈
changed this line in version 2 of the diff
changed this line in version 2 of the diff
added 3 commits
13c20dd8
- 1 commit from branchmain
Compare with previous version
resolved all threads
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
It's preferred to not specify units with line-height. https://developer.mozilla.org/en-US/docs/Web/CSS/line-height#values
resolved all threads
changed this line in version 5 of the diff
added 1 commit
Compare with previous version
added 2 commits
Compare with previous version
line-height
tells the browser, well, the height of the line.If it is a value with a unit such as rems or pixels, the browser can just set the height of that line to that value.
If it is a unitless value, then the browser needs to convert it into some unit. line-heights are multiplied with the element's font-size to get a px / rem value.
So, to remove units for a line-height of 21px here, we need to divide by 14, and not 16. :) Took me a second to realize what was going on! :)
changed this line in version 7 of the diff
added 1 commit
Compare with previous version
Excellent! 💯
approved this merge request
added 13 commits
main
b2a89ce7
- mobile fixesac927790
- mobile styling43a7d109
- displays local timezone4baeb353
- converts to local timezonec321cc15
- revert changes41b24338
- remove line height unitsa99ec843
- Fix line-heightsCompare with previous version