Skip to content

Commit 13a8b4d

Browse files
Merge pull request #846 from nextcloud/backport/845/stable20
[stable20] Cannot unfold plain text notifications
2 parents f8a6050 + d770912 commit 13a8b4d

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

css/styles.scss

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

138138
& > .collapsed {
139139
overflow: hidden;
140-
max-height: 70px
140+
max-height: 70px;
141141
}
142142

143143
& > .notification-overflow {

js/notifications-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/notifications-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Components/Notification.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@ export default {
241241
242242
onClickMessage(e) {
243243
if (e.target.classList.contains('rich-text--wrapper')) {
244+
// Vue RichText
245+
this.showFullMessage = !this.showFullMessage
246+
} else if (!this.messageRich && !!this.message) {
247+
// Plain text
244248
this.showFullMessage = !this.showFullMessage
245249
}
246250
},

0 commit comments

Comments
 (0)