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

Commit

Permalink
Use more simplified way
Browse files Browse the repository at this point in the history
Because the float property prevents the margin from appearing, removing
the property is more straightforward than adding other rules.

Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul committed Apr 20, 2022
1 parent b27e065 commit ae8dd59
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions res/css/views/rooms/_EventBubbleTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ limitations under the License.

&[data-self=true] {
.mx_EventTile_line {
float: right;
margin-inline-start: auto;
border-bottom-left-radius: var(--cornerRadius);

.mx_MImageBody .mx_MImageBody_thumbnail_container,
Expand Down Expand Up @@ -593,13 +593,6 @@ limitations under the License.
right: 0; // match alignment of the hover background to that of chat bubbles
}
}

// style a list inside the generic event list
.mx_GenericEventListSummary_unstyledList {
display: flex;
flex-direction: column;
margin: 0;
}
}

// increase margin between ELS and the next Event to not have our user avatar overlap the expand/collapse button
Expand Down

0 comments on commit ae8dd59

Please sign in to comment.