Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

message_edit_form: Remove question mark icon after edit-timer-text.

Vector7340a8ca2ced09
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 42e9cecdb19..8a6804160bb 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -722,7 +722,6 @@
.narrow_to_compose_recipients,
.expand_composebox_button,
.collapse_composebox_button,
- #message_edit_tooltip,
.clear_search_button,
.clear_search_button:focus,
.clear_search_button:active,
@@ -732,7 +731,6 @@
color: hsl(236deg 33% 80%);
}
- #message_edit_tooltip:hover,
.clear_search_button:hover {
color: hsl(0deg 0% 100%);
}
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 723464de793..580e1f77e8c 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1017,19 +1017,6 @@ strong {
word-wrap: break-word;
}
-#message_edit_tooltip {
- float: right;
- color: hsl(0deg 0% 0%);
- margin-top: 2px;
- margin-left: 6px;
- opacity: 0.5;
- cursor: pointer;
-
- &:hover {
- opacity: 1;
- }
-}
-
#change_visibility_policy_button_tooltip {
text-align: center;
}
@@ -1805,11 +1792,6 @@ div.focused-message-list {
}
}
-.message_edit_tooltip {
- display: inline;
- color: hsl(0deg 0% 63%);
-}
-
.message-edit-timer {
float: right;
display: none;
diff --git a/web/templates/message_edit_form.hbs b/web/templates/message_edit_form.hbs
index 824ce963277..698187476d6 100644
--- a/web/templates/message_edit_form.hbs
+++ b/web/templates/message_edit_form.hbs
@@ -32,12 +32,8 @@
{{/if}}
{{#if is_editable}}
<div class="message-edit-timer">
- <span class="message_edit_countdown_timer"></span>
- <span>
- <i id="message_edit_tooltip" class="tippy-zulip-tooltip message_edit_tooltip fa fa-question-circle" aria-hidden="true"
- data-tippy-content="{{t 'This organization is configured to restrict editing of message content to {minutes_to_edit} minutes after it is sent.' }}">
- </i>
- </span>
+ <span class="message_edit_countdown_timer
+ tippy-zulip-tooltip" data-tippy-content="{{t 'This organization is configured to restrict editing of message content to {minutes_to_edit} minutes after it is sent.' }}"></span>
</div>
{{/if}}
</div>