-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add two-line timestamp and remove dayjs #1333
Changes from 1 commit
bb72a96
43935e1
971bb05
2773038
6e78980
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 |
---|---|---|
|
@@ -58,6 +58,8 @@ $spinner-color-light: #000; | |
} | ||
|
||
%truncateLeftChild { | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
Comment on lines
+61
to
+62
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This fixes ellipsis truncation in the nested timestamp |
||
unicode-bidi: isolate; | ||
direction: ltr; | ||
} | ||
|
@@ -519,6 +521,7 @@ $spinner-color-light: #000; | |
padding: 0 $cell-padding; | ||
align-items: center; | ||
width: 100%; | ||
height: 100%; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This fixes vertical centering in cells whose contents aren't full height via |
||
justify-content: flex-end; | ||
&:hover { | ||
& .copyButton { | ||
|
@@ -547,8 +550,15 @@ $spinner-color-light: #000; | |
} | ||
|
||
.timestampCellContentsWrapper { | ||
line-height: normal; | ||
@extend %truncateLeftParent; | ||
.cellContents { | ||
@extend %truncateLeftChild; | ||
} | ||
} | ||
|
||
.timestampDate { | ||
@extend %truncateLeftChild; | ||
font-size: 0.7em; | ||
} | ||
.timestampTime { | ||
@extend %truncateLeftChild; | ||
font-size: 0.9em; | ||
} |
This file was deleted.
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.
Might be better to push this further up into data parsing, but this will do for now
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.
Yep definitely move it in case we need to use this timestamp somewhere else. We should also standardise all dates in the extension to look the same.
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.
Can follow up.
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.
I can do the follow-up for pushing
new Date
up into webview parsing, I'm not sure where else we display date timestamps though.