Add back wider width limit for text reactions

This commit is contained in:
SpiritCroc 2024-05-29 20:05:42 +02:00
parent a670bf6bea
commit 34c14329f2
2 changed files with 33 additions and 0 deletions

View File

@ -23,3 +23,4 @@ Note that this list may be incomplete or outdated.
- Render captions
- Allow sending freeform reactions
- Less restrictive width limit for rendering text reactions

View File

@ -0,0 +1,32 @@
From e67b314775022cc970e7704bdcaa36cd674091bc Mon Sep 17 00:00:00 2001
From: su-ex <codeworks@supercable.onl>
Date: Sat, 22 Apr 2023 12:15:18 +0200
Subject: Allow reactions to take more space
---
res/css/views/messages/_ReactionsRowButton.pcss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/res/css/views/messages/_ReactionsRowButton.pcss b/res/css/views/messages/_ReactionsRowButton.pcss
index 26d2d25fae..9920c6c20d 100644
--- a/res/css/views/messages/_ReactionsRowButton.pcss
+++ b/res/css/views/messages/_ReactionsRowButton.pcss
@@ -23,6 +23,7 @@ limitations under the License.
background-color: $secondary-hairline-color;
user-select: none;
align-items: center;
+ max-width: calc(100% - 40px);;
&:hover {
border-color: $quinary-content;
@@ -38,7 +39,6 @@ limitations under the License.
}
.mx_ReactionsRowButton_content {
- max-width: 100px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
--
2.45.1