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

Move timestamps into message bubbles #7417

Merged
merged 2 commits into from
Dec 23, 2021
Merged
Changes from 1 commit
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
15 changes: 7 additions & 8 deletions res/css/views/rooms/_EventBubbleTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.
--gutterSize: 11px;
--cornerRadius: 12px;
--maxWidth: 70%;
margin-right: 100px;
margin-right: 60px;
}

.mx_EventTile[data-layout=bubble] {
Expand Down Expand Up @@ -112,10 +112,6 @@ limitations under the License.
.mx_EventTile_line {
float: right;
border-bottom-left-radius: var(--cornerRadius);
> a {
left: auto;
right: -68px;
}

.mx_MImageBody .mx_MImageBody_thumbnail {
border-bottom-left-radius: var(--cornerRadius);
Expand Down Expand Up @@ -160,11 +156,13 @@ limitations under the License.
margin: 0 -12px 0 -9px;
border-top-left-radius: var(--cornerRadius);
border-top-right-radius: var(--cornerRadius);

> a {
position: absolute;
padding: 10px 20px;
top: 0;
left: -68px;
padding: 4px 8px;
bottom: 0;
right: 0;
z-index: 1; // above media
}

//noinspection CssReplaceWithShorthandSafely
Expand All @@ -184,6 +182,7 @@ limitations under the License.

.mx_EventTile_line:not(.mx_EventTile_mediaLine) {
padding: var(--gutterSize);
padding-right: 60px; // space for the timestamp
background: var(--backgroundColor);
}

Expand Down