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

Commit

Permalink
Enable search strings highlight on bubble layout (#9032)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
luixxiul committed Jul 9, 2022
1 parent 483ea9b commit 03ce8ae
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
margin-block: var(--EventTileBubble_margin-block);
}
Expand Down Expand Up @@ -395,20 +408,6 @@ $left-gutter: 64px;
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 */
&:hover .mx_EventTile_e2eIcon {
opacity: 1;
Expand Down

0 comments on commit 03ce8ae

Please sign in to comment.