From 5142e508a2ef11787d56f52156fabd5378d44cbf Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 18 Oct 2022 18:38:00 -0500 Subject: [PATCH] Have full room description readable from tooltip (#85) The `RoomCard` clips text two lines before ellipsing. This will make the rest of the description readable if you hover over the description. --- shared/views/RoomCardView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/views/RoomCardView.js b/shared/views/RoomCardView.js index 5b73697..641045a 100644 --- a/shared/views/RoomCardView.js +++ b/shared/views/RoomCardView.js @@ -70,7 +70,7 @@ class RoomCardView extends TemplateView { }, [aliasOrRoomId] ), - t.p({ className: 'RoomCardView_topic' }, [vm.topic || '']), + t.p({ className: 'RoomCardView_topic', title: vm.topic || null }, [vm.topic || '']), t.div({ className: 'RoomCardView_footer' }, [ t.div({ className: 'RoomCardView_footerInner' }, [ t.div({}, [memberDisplay]),