You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
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 <luixxiul@users.noreply.github.com> * Use a logical property Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
@@ -73,6 +73,19 @@ $left-gutter: 64px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_EventTile_searchHighlight {
|
||||||
|
background-color: $accent;
|
||||||
|
color: $accent-fg-color;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding-inline: 2px;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
a {
|
||||||
|
background-color: $accent;
|
||||||
|
color: $accent-fg-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.mx_EventTileBubble {
|
.mx_EventTileBubble {
|
||||||
margin-block: var(--EventTileBubble_margin-block);
|
margin-block: var(--EventTileBubble_margin-block);
|
||||||
}
|
}
|
||||||
@@ -395,20 +408,6 @@ $left-gutter: 64px;
|
|||||||
background-color: $event-selected-color;
|
background-color: $event-selected-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_EventTile_searchHighlight {
|
|
||||||
background-color: $accent;
|
|
||||||
color: $accent-fg-color;
|
|
||||||
border-radius: 5px;
|
|
||||||
padding-left: 2px;
|
|
||||||
padding-right: 2px;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
a {
|
|
||||||
background-color: $accent;
|
|
||||||
color: $accent-fg-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* End to end encryption stuff */
|
/* End to end encryption stuff */
|
||||||
&:hover .mx_EventTile_e2eIcon {
|
&:hover .mx_EventTile_e2eIcon {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
Reference in New Issue
Block a user