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

Commit 727afdc

Browse files
authored
Reduce bottom margin of ReplyChain on compact modern layout (#8972)
1 parent bd4f79b commit 727afdc

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

res/css/views/elements/_ReplyChain.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ limitations under the License.
1515
*/
1616

1717
.mx_ReplyChain {
18-
margin: 0 0 $spacing-8 0;
18+
margin: 0; // Reset default blockquote margin
1919
padding-left: 10px; // TODO: Use a spacing variable
2020
border-left: 2px solid var(--username-color); // TODO: Use a spacing variable
2121
border-radius: 2px; // TODO: Use a spacing variable

res/css/views/rooms/_EventTile.pcss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ $left-gutter: 64px;
267267
.mx_EventTileBubble {
268268
margin-inline: auto;
269269
}
270+
271+
.mx_ReplyChain {
272+
margin-bottom: $spacing-8;
273+
}
270274
}
271275

272276
&[data-layout="irc"] {
@@ -295,6 +299,10 @@ $left-gutter: 64px;
295299
}
296300
}
297301

302+
.mx_ReplyChain {
303+
margin: 0;
304+
}
305+
298306
.mx_ReplyTile .mx_EventTileBubble {
299307
left: unset; /* Cancel the value specified above for the tile inside ReplyTile */
300308
}
@@ -1244,6 +1252,10 @@ $left-gutter: 64px;
12441252
padding-block: var(--MatrixChat_useCompactLayout_line-spacing-block);
12451253
}
12461254

1255+
.mx_ReplyChain {
1256+
margin-bottom: $spacing-4;
1257+
}
1258+
12471259
&.mx_EventTile_info {
12481260
padding-top: 0; /* same as the padding for non-compact .mx_EventTile.mx_EventTile_info */
12491261
font-size: $font-13px;

res/css/views/rooms/_IRCLayout.pcss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ $irc-line-height: $font-18px;
183183
}
184184

185185
.mx_ReplyChain {
186-
margin: 0;
187186
.mx_DisambiguatedProfile {
188187
order: unset;
189188
width: unset;

0 commit comments

Comments
 (0)