Skip to content

Commit

Permalink
[HACK] Get captions to show in bubble layout again
Browse files Browse the repository at this point in the history
Timestamp position is bad with this, and probably has other bugs now too
  • Loading branch information
SpiritCroc committed Oct 31, 2024
1 parent 86812e6 commit 735143f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion element-web
26 changes: 26 additions & 0 deletions patches/element-web/0030-HACK-Fix-captions-in-bubble-layout.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From df4aa42a9915f1fbf6a70e84b01913dd41e2ac0e Mon Sep 17 00:00:00 2001
From: SpiritCroc <[email protected]>
Date: Thu, 31 Oct 2024 17:33:32 +0100
Subject: [HACK] Fix captions in bubble layout

Image height of 100% combined with overflow-y: hidden was causing
caption to be invisible in bubble layout.
---
res/css/views/rooms/_EventBubbleTile.pcss | 1 -
1 file changed, 1 deletion(-)

diff --git a/res/css/views/rooms/_EventBubbleTile.pcss b/res/css/views/rooms/_EventBubbleTile.pcss
index a5f5480010..fbb1ad2e1b 100644
--- a/res/css/views/rooms/_EventBubbleTile.pcss
+++ b/res/css/views/rooms/_EventBubbleTile.pcss
@@ -336,7 +336,6 @@ Please see LICENSE files in the repository root for full details.

.mx_MImageBody {
width: 100%;
- height: 100%;

.mx_MImageBody_thumbnail.mx_MImageBody_thumbnail--blurhash {
position: unset;
--
2.47.0

0 comments on commit 735143f

Please sign in to comment.