Skip to content

Commit 3eb0288

Browse files
committed
UX: reviving old topic popup should not have red warning background
1 parent 2eba00a commit 3eb0288

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/assets/stylesheets/desktop/compose.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
background: dark-light-diff($danger, $secondary, 50%, -40%);
3030
}
3131

32+
&.old-topic {
33+
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
34+
}
35+
3236
h3 {
3337
margin-bottom: 10px;
3438
}

lib/composer_messages_finder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def check_reviving_old_topic
149149
{
150150
templateName: 'composer/education',
151151
wait_for_typing: false,
152-
extraClass: 'urgent',
152+
extraClass: 'old-topic',
153153
body: PrettyText.cook(I18n.t('education.reviving_old_topic', days: (Time.zone.now - topic.last_posted_at).round / 1.day))
154154
}
155155
end

0 commit comments

Comments
 (0)