Add padding to event info tile for MessageTimestamp on TimelineCard (#8639)

* Add padding-right to EventTile_line in EventTile_info on TimelineCard

Also ensure the same padding values are applied to EventTile_line on TimelineCard.

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

* Remove git diff

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
pull/28217/head
Suguru Hirahara 2022-05-23 09:52:52 +00:00 committed by GitHub
parent 67b0078b33
commit eb977e6e7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -52,6 +52,7 @@ limitations under the License.
} }
.mx_EventTile:not([data-layout="bubble"]) { .mx_EventTile:not([data-layout="bubble"]) {
&.mx_EventTile_info .mx_EventTile_line,
.mx_EventTile_line { .mx_EventTile_line {
padding: var(--BaseCard_EventTile_line-padding-block) var(--BaseCard_EventTile-spacing-horizontal); padding: var(--BaseCard_EventTile_line-padding-block) var(--BaseCard_EventTile-spacing-horizontal);
@ -95,10 +96,6 @@ limitations under the License.
} }
&.mx_EventTile_info { &.mx_EventTile_info {
.mx_EventTile_line {
padding-left: var(--BaseCard_EventTile-spacing-horizontal);
}
.mx_EventTile_avatar { .mx_EventTile_avatar {
left: 18px; left: 18px;
} }