Move mx_EventTile_continuation out of mx_EventTile:not([data-layout=bubble]) (#8941)

* Move mx_EventTile_continuation out of mx_EventTile:not([data-layout=bubble])

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

* Manage mx_EventTile_continuation declarations on one file

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2022-07-05 11:17:11 +00:00 committed by GitHub
parent fd3d65993c
commit 74a059b520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 12 deletions

View File

@ -73,10 +73,6 @@ limitations under the License.
margin-right: 0;
}
&.mx_EventTile_continuation {
margin-top: 2px;
}
&.mx_EventTile_highlight {
&::before {
background-color: $event-highlight-bg-color;

View File

@ -191,6 +191,10 @@ $left-gutter: 64px;
background-color: $event-highlight-bg-color;
}
}
&.mx_EventTile_continuation .mx_EventTile_line {
clear: both;
}
}
&[data-layout=group] {
@ -238,6 +242,16 @@ $left-gutter: 64px;
position: absolute;
z-index: 9;
}
&.mx_EventTile_continuation {
padding-top: 0px !important;
}
}
&[data-layout=bubble] {
&.mx_EventTile_continuation {
margin-top: 2px;
}
}
}
@ -275,19 +289,11 @@ $left-gutter: 64px;
}
}
&.mx_EventTile_continuation {
padding-top: 0px !important;
}
.mx_MessageTimestamp {
left: 0px;
text-align: center;
}
&.mx_EventTile_continuation .mx_EventTile_line {
clear: both;
}
/* this is used for the tile for the event which is selected via the URL.
* TODO: ultimately we probably want some transition on here.
*/