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

Fix position of the message action bar on left side bubbles #8398

Merged
merged 11 commits into from
May 16, 2022
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions res/css/views/rooms/_EventBubbleTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ limitations under the License.
}

.mx_MessageActionBar {
right: -100px; // to make sure it doesn't overflow to the left or cover sender profile
right: initial;
left: calc(100% - 32px); // 32px: width of a message action bar item
}

--backgroundColor: $eventbubble-others-bg;
Expand Down Expand Up @@ -199,6 +200,7 @@ limitations under the License.
order: -1;
}
}

.mx_EventTile_avatar {
top: -19px; // height of the sender block
right: -35px;
Expand Down Expand Up @@ -601,7 +603,8 @@ limitations under the License.
margin-right: 0;

.mx_MessageActionBar {
right: 48px; // align with that of right-column bubbles
right: initial;
left: calc(100% - 161px); // align with that of right-column bubbles
}

.mx_ReadReceiptGroup {
Expand Down