summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaksim Sukharev <antreesy.web@gmail.com>2023-12-08 12:21:23 +0100
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-12-08 14:30:21 +0000
commitd57c3af96b73f86b77fcb82364fae9413fe42766 (patch)
tree87adfee8b9efae17f106a98264a4dd2f32a407b8
parent004299135a477c365b87e7c7594a70c0a462f014 (diff)
fix(messages): apply ltr styles to system messages
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
-rw-r--r--src/components/MessagesList/MessagesGroup/Message/Message.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/Message.vue b/src/components/MessagesList/MessagesGroup/Message/Message.vue
index 31cdcca4c..6cadb7666 100644
--- a/src/components/MessagesList/MessagesGroup/Message/Message.vue
+++ b/src/components/MessagesList/MessagesGroup/Message/Message.vue
@@ -1155,11 +1155,6 @@ export default {
:deep(.rich-text--wrapper) {
text-align: start;
- // Hardcode to prevent RTL affecting on user mentions
- .rich-text--component {
- direction: ltr;
- }
-
// Overwrite core styles, otherwise h4 is lesser than default font-size
h4 {
font-size: 100%;
@@ -1204,4 +1199,9 @@ export default {
}
}
}
+
+// Hardcode to prevent RTL affecting on user mentions
+:deep(.rich-text--component) {
+ direction: ltr;
+}
</style>