Skip to content

Commit 06f1647

Browse files
committed
Merge branch 'v5' of https://github.com/crowbartools/Firebot into v5
2 parents c05f42f + 8c0cc31 commit 06f1647

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/gui/app/services/activity-feed.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
backendCommunicator.on("activity-feed:event-activity", (activity) => {
1818

19-
activity.message = $sce.trustAsHtml(sanitize(marked(activity.message)));
19+
activity.message = $sce.trustAsHtml(sanitize(marked.parseInline(activity.message)));
2020

2121
service.allActivities.unshift(activity);
2222
if (service.allActivities.length > 500) {

src/gui/app/templates/chat/_chat-messages.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ <h4><i class="fas" ng-class="currentThreadMessages().length < 2 ? 'fa-reply' : '
266266
<div
267267
class="activity-message"
268268
ng-bind-html="activity.message"
269+
uib-tooltip-html="activity.message"
270+
tooltip-append-to-body="true"
271+
tooltip-placement="left"
269272
></div>
270273
<div
271274
class="ml-4"

src/gui/scss/core/_chat.scss

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -822,15 +822,12 @@
822822
}
823823

824824
.activity-message {
825+
display: -webkit-box;
825826
flex-grow: 9999;
826827
overflow: hidden;
827-
}
828-
829-
.activity-message > p:first-child {
830-
margin: 0 !important;
831-
overflow: hidden;
832-
text-overflow: ellipsis;
833-
max-height: 40px;
828+
line-clamp: 4;
829+
-webkit-line-clamp: 4;
830+
-webkit-box-orient: vertical;
834831
}
835832

836833
.chat-window-column {

0 commit comments

Comments
 (0)