Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 03ce8ae

Browse files
authored
Enable search strings highlight on bubble layout (#9032)
* Move mx_EventTile_searchHighlight out of mx_EventTile:not([data-layout=bubble]) to enable it on bubble layout Signed-off-by: Suguru Hirahara <[email protected]> * Use a logical property Signed-off-by: Suguru Hirahara <[email protected]>
1 parent 483ea9b commit 03ce8ae

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

res/css/views/rooms/_EventTile.scss

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,19 @@ $left-gutter: 64px;
7373
}
7474
}
7575

76+
.mx_EventTile_searchHighlight {
77+
background-color: $accent;
78+
color: $accent-fg-color;
79+
border-radius: 5px;
80+
padding-inline: 2px;
81+
cursor: pointer;
82+
83+
a {
84+
background-color: $accent;
85+
color: $accent-fg-color;
86+
}
87+
}
88+
7689
.mx_EventTileBubble {
7790
margin-block: var(--EventTileBubble_margin-block);
7891
}
@@ -395,20 +408,6 @@ $left-gutter: 64px;
395408
background-color: $event-selected-color;
396409
}
397410

398-
.mx_EventTile_searchHighlight {
399-
background-color: $accent;
400-
color: $accent-fg-color;
401-
border-radius: 5px;
402-
padding-left: 2px;
403-
padding-right: 2px;
404-
cursor: pointer;
405-
406-
a {
407-
background-color: $accent;
408-
color: $accent-fg-color;
409-
}
410-
}
411-
412411
/* End to end encryption stuff */
413412
&:hover .mx_EventTile_e2eIcon {
414413
opacity: 1;

0 commit comments

Comments
 (0)