mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message_body: Hyphenate message-time class.
This commit is contained in:
@@ -241,7 +241,7 @@ export function initialize(): void {
|
||||
},
|
||||
});
|
||||
|
||||
message_list_tooltip(".message-list .message_time", {
|
||||
message_list_tooltip(".message-list .message-time", {
|
||||
onShow(instance) {
|
||||
const $time_elem = $(instance.reference);
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||
|
@@ -525,10 +525,6 @@
|
||||
color: hsl(0deg 0% 42% / 90%) !important;
|
||||
}
|
||||
|
||||
.message_time:hover {
|
||||
color: var(--color-message-action-interactive);
|
||||
}
|
||||
|
||||
& input[type="text"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="number"]:focus,
|
||||
|
@@ -194,7 +194,7 @@ $time_column_min_width: 42px; /* + padding */
|
||||
grid-area: edited;
|
||||
}
|
||||
|
||||
.message_time {
|
||||
.message-time {
|
||||
justify-self: end;
|
||||
padding-right: 5px;
|
||||
/* Maintain first-line baseline regardless of
|
||||
@@ -419,7 +419,7 @@ $time_column_min_width: 42px; /* + padding */
|
||||
grid-area: message;
|
||||
}
|
||||
|
||||
.message_time {
|
||||
.message-time {
|
||||
grid-area: time;
|
||||
/* Don't adjust the line-height for collapsed or
|
||||
edited/source messages when there's a sender,
|
||||
@@ -476,9 +476,9 @@ $time_column_min_width: 42px; /* + padding */
|
||||
}
|
||||
|
||||
/* Locally echoed messages. */
|
||||
&.locally-echoed .message_time {
|
||||
&.locally-echoed .message-time {
|
||||
opacity: 0;
|
||||
/* Don't show pointer when message_time doesn't has a link. */
|
||||
/* Don't show pointer when message-time doesn't have a link. */
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
|
@@ -63,7 +63,7 @@
|
||||
|
||||
.messagebox-content {
|
||||
.message_edit_notice,
|
||||
.message_time {
|
||||
.message-time {
|
||||
/* Firefox seems to have a bug that fuzzes out
|
||||
small text with opacity; this unsets that
|
||||
value, and replaces with a matching gray. */
|
||||
|
@@ -888,7 +888,7 @@ td.pointer {
|
||||
transition: all 3s ease-in-out;
|
||||
}
|
||||
|
||||
.messagebox-content .message_time {
|
||||
.messagebox-content .message-time {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
font-weight: 350;
|
||||
|
@@ -26,7 +26,7 @@
|
||||
{{/if}}
|
||||
</span>
|
||||
|
||||
<a {{#unless msg/locally_echoed}}href="{{ msg/url }}"{{/unless}} class="message_time">
|
||||
<a {{#unless msg/locally_echoed}}href="{{ msg/url }}"{{/unless}} class="message-time">
|
||||
{{#unless include_sender}}
|
||||
<span class="copy-paste-text"> </span>
|
||||
{{/unless}}
|
||||
|
Reference in New Issue
Block a user