message_body: Hyphenate message-time class.

This commit is contained in:
Karl Stolley
2024-03-28 10:49:46 -05:00
committed by Tim Abbott
parent c25975642a
commit 1425d2f71f
6 changed files with 8 additions and 12 deletions

View File

@@ -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

View File

@@ -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,

View File

@@ -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;
}

View File

@@ -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. */

View File

@@ -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;

View File

@@ -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">&nbsp;</span>
{{/unless}}