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

Commit

Permalink
Move line-height style block to _EventTile.scss
Browse files Browse the repository at this point in the history
Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul committed Jun 29, 2022
1 parent 0f832e1 commit 523a60b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 0 additions & 4 deletions res/css/views/rooms/_EventBubbleTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ limitations under the License.
font-size: $font-15px;
}

.mx_ReplyTile .mx_EventTile_content {
line-height: var(--EventTile_bubble_line-line-height);
}

.mx_MessageActionBar {
top: -28px;
z-index: 9; // above the avatar
Expand Down
6 changes: 6 additions & 0 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
margin: $spacing-4 64px;
}
}

&[data-layout=bubble] {
.mx_ReplyTile .mx_EventTile_content {
line-height: var(--EventTile_bubble_line-line-height);
}
}
}

.mx_EventTile:not([data-layout=bubble]) {
Expand Down

0 comments on commit 523a60b

Please sign in to comment.