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 ( - - + + + + + ); })}