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

Commit

Permalink
Add padding to event info tile for MessageTimestamp on TimelineCard (#…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
luixxiul authored May 23, 2022
1 parent 67b0078 commit eb977e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions res/css/views/right_panel/_TimelineCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ limitations under the License.
}

.mx_EventTile:not([data-layout="bubble"]) {
&.mx_EventTile_info .mx_EventTile_line,
.mx_EventTile_line {
padding: var(--BaseCard_EventTile_line-padding-block) var(--BaseCard_EventTile-spacing-horizontal);

Expand Down Expand Up @@ -95,10 +96,6 @@ limitations under the License.
}

&.mx_EventTile_info {
.mx_EventTile_line {
padding-left: var(--BaseCard_EventTile-spacing-horizontal);
}

.mx_EventTile_avatar {
left: 18px;
}
Expand Down

0 comments on commit eb977e6

Please sign in to comment.