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

Commit b90ea87

Browse files
authored
Re-add inline start padding to EventTile_line of GenericEventListSummary (#9063)
1 parent 161a333 commit b90ea87

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

cypress/e2e/14-timeline/timeline.spec.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ describe("Timeline", () => {
143143
});
144144
});
145145

146+
it("should create and configure a room on IRC layout", () => {
147+
cy.visit("/#/room/" + roomId);
148+
cy.setSettingValue("layout", null, SettingLevel.DEVICE, Layout.IRC);
149+
cy.contains(".mx_RoomView_body .mx_GenericEventListSummary[data-layout=irc] " +
150+
".mx_GenericEventListSummary_summary", "created and configured the room.");
151+
cy.percySnapshot("Configured room on IRC layout");
152+
});
153+
146154
it("should click 'collapse' link button on the first hovered info event line on bubble layout", () => {
147155
cy.visit("/#/room/" + roomId);
148156
cy.setSettingValue("layout", null, SettingLevel.DEVICE, Layout.Bubble);

res/css/views/rooms/_EventTile.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,9 +487,9 @@ $left-gutter: 64px;
487487

488488
// Apply only collapsed events block
489489
> .mx_EventTile_line {
490+
// 15 px of padding
490491
/* stylelint-disable-next-line declaration-colon-space-after */
491492
padding-left:
492-
// 15 px of padding
493493
calc(var(--name-width) + var(--icon-width) + $MessageTimestamp_width + 3 * var(--right-padding));
494494
}
495495
}

0 commit comments

Comments
 (0)