From f79d124fd2007f07817ed28ff5648011d3774fce Mon Sep 17 00:00:00 2001 From: Shea Duma Date: Tue, 10 Mar 2026 05:56:21 +0200 Subject: [PATCH] updated styling to better fit with the message aspect --- .../event-history/EventHistory.css.ts | 4 +- .../components/event-history/EventHistory.tsx | 40 ++++++++++--------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/src/app/components/event-history/EventHistory.css.ts b/src/app/components/event-history/EventHistory.css.ts index 277d220a..e50d71c3 100644 --- a/src/app/components/event-history/EventHistory.css.ts +++ b/src/app/components/event-history/EventHistory.css.ts @@ -24,10 +24,10 @@ export const EventItem = style({ height: 'unset', borderRadius: '5px', border: '2px hidden', - borderColor: color.Secondary.Main, + backgroundColor: 'inherit', selectors: { '&:hover': { - border: '2px solid', + backgroundColor: color.Surface.ContainerHover, }, }, }); diff --git a/src/app/components/event-history/EventHistory.tsx b/src/app/components/event-history/EventHistory.tsx index 52904e63..ffdefa1e 100644 --- a/src/app/components/event-history/EventHistory.tsx +++ b/src/app/components/event-history/EventHistory.tsx @@ -10,6 +10,7 @@ import { Scroll, Text, as, + color, config, } from 'folds'; import { MatrixEvent, Room } from '$types/matrix-sdk'; @@ -125,25 +126,28 @@ export const EventHistory = as<'div', EventHistoryProps>( if (!mEvent.event.sender) return
; const EventContent = mEvent.getOriginalContent(); return ( - - + + + + + ); })}