Remove obsolete style blocks - search results in bubble layout (#8990)

* Remove an obsolete style block - mx_SenderProfile

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Display own avatars as they no longer overlap

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Empty commit

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2022-07-06 07:47:01 +00:00 committed by GitHub
parent afcf6ced05
commit 530b51a5ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,22 +31,6 @@ limitations under the License.
margin-right: 60px; margin-right: 60px;
} }
.mx_RoomView_searchResultsPanel {
.mx_EventTile[data-layout=bubble] {
.mx_SenderProfile {
// Group layout adds a 64px left margin, which we really don't want on search results
margin-left: 0;
}
&[data-self=true] {
// The avatars end up overlapping, so just hide them
.mx_EventTile_avatar {
display: none;
}
}
}
}
.mx_EventTile[data-layout=bubble] { .mx_EventTile[data-layout=bubble] {
--EventTile_bubble-margin-inline-start: 49px; --EventTile_bubble-margin-inline-start: 49px;
--EventTile_bubble-margin-inline-end: 60px; --EventTile_bubble-margin-inline-end: 60px;