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

Commit

Permalink
Re-add inline start padding to EventTile_line of GenericEventListSumm…
Browse files Browse the repository at this point in the history
…ary (#9063)
  • Loading branch information
luixxiul authored Jul 16, 2022
1 parent 161a333 commit b90ea87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions cypress/e2e/14-timeline/timeline.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@ describe("Timeline", () => {
});
});

it("should create and configure a room on IRC layout", () => {
cy.visit("/#/room/" + roomId);
cy.setSettingValue("layout", null, SettingLevel.DEVICE, Layout.IRC);
cy.contains(".mx_RoomView_body .mx_GenericEventListSummary[data-layout=irc] " +
".mx_GenericEventListSummary_summary", "created and configured the room.");
cy.percySnapshot("Configured room on IRC layout");
});

it("should click 'collapse' link button on the first hovered info event line on bubble layout", () => {
cy.visit("/#/room/" + roomId);
cy.setSettingValue("layout", null, SettingLevel.DEVICE, Layout.Bubble);
Expand Down
2 changes: 1 addition & 1 deletion res/css/views/rooms/_EventTile.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,9 @@ $left-gutter: 64px;

// Apply only collapsed events block
> .mx_EventTile_line {
// 15 px of padding
/* stylelint-disable-next-line declaration-colon-space-after */
padding-left:
// 15 px of padding
calc(var(--name-width) + var(--icon-width) + $MessageTimestamp_width + 3 * var(--right-padding));
}
}
Expand Down

0 comments on commit b90ea87

Please sign in to comment.