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

Commit

Permalink
Appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
su-ex committed Jun 11, 2021
1 parent 44f82b0 commit 0f43c83
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions res/css/views/rooms/_BubbleLayout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,25 @@ $left-gutter: 56px;
position: relative;

// Consistence with other bubbles

.mx_EventTile {
padding-top: 0;
}

.sc_EventTile_bubbleLine_info {
margin-top: 6px;

// ToDo: Find better way to not crash bubble with toggle on small width screens
// padding-left: 110px;
margin-right: 0;
padding-left: 0;
}

.mx_EventTile_line {
padding-top: 3px;
padding-bottom: 3px;
}
}

.sc_EventTile_bubbleArea_info {
// For toggle
max-width: 72rem;
Expand Down Expand Up @@ -168,7 +175,7 @@ $left-gutter: 56px;

.mx_EventTile_bubbleContainer .mx_EventTile_msgOption {
grid-column: unset; // show read avatara like always
}
}

.mx_EventTile_readAvatars {
// SC-TODO align left below msg area
Expand Down Expand Up @@ -206,7 +213,7 @@ $left-gutter: 56px;
.mx_EditMessageComposer {
margin: 0;
padding: 0;

.mx_EditMessageComposer_buttons {
position: unset;
margin: 0;
Expand All @@ -216,15 +223,15 @@ $left-gutter: 56px;
max-width: 100%;
background: transparent;
flex-wrap: wrap;

.mx_AccessibleButton {
padding: 5px 0;
width: 11em;
max-width: 100%;
}
}
}

.mx_BasicMessageComposer {
max-width: 100%;
}
Expand Down Expand Up @@ -266,7 +273,7 @@ $left-gutter: 56px;
.mx_MFileBody_download {
display: inline;
}


.mx_MessageTimestamp {
position: absolute;
Expand Down Expand Up @@ -381,13 +388,6 @@ $left-gutter: 56px;
line-height: unset;
}

.mx_EventListSummary .sc_EventTile_bubbleLine_info {
// ToDo: Find better way to not crash bubble with toggle on small width screens
// padding-left: 110px;
padding-left: 0;
margin-right: 0;
}

.sc_EventTile_bubbleContainer {
> .mx_EventTile_avatar {
top: 9px;
Expand Down Expand Up @@ -530,7 +530,7 @@ $left-gutter: 56px;

.mx_ReactionsRow_addReactionButton {
margin-left: unset;
margin-right: 6px;
margin-right: 6px;
}
}
}
Expand All @@ -543,7 +543,7 @@ $left-gutter: 56px;
// right: -8px;
// }
}

.sc_EventTile_bubble_self {
&:not(.sc_EventTile_bubble_media) {
background-color: $message-bubble-background-self;
Expand Down Expand Up @@ -597,7 +597,7 @@ $left-gutter: 56px;
display: inline;
position: unset;

&:after {
&::after {
content: "\00a0";
}
}
Expand Down Expand Up @@ -632,24 +632,24 @@ $left-gutter: 56px;

&.sc_EventTile_bubble_right {
margin-left: auto;

> * {
margin-left: auto;
}

.mx_MImageBody_thumbnail {
left: unset;
right: 0;
}
}

// maybe:
// & + .mx_ReactionsRow {
// margin-top: 0;
// margin-bottom: 0;
// }
}

.sc_EventTile_bubble_sticker {
.mx_MImageBody_thumbnail {
border: none;
Expand Down Expand Up @@ -682,7 +682,7 @@ $left-gutter: 56px;
border-radius: 8px;
display: block;
}

video.mx_MVideoBody {
opacity: 0.7;
}
Expand All @@ -696,7 +696,7 @@ $left-gutter: 56px;
width: calc(100% - 16px);
max-width: unset;
}

.sc_EventTile_bubbleArea_info {
width: 80%;
max-width: 72rem;
Expand Down

0 comments on commit 0f43c83

Please sign in to comment.