Re-add inline start padding to EventTile_line of GenericEventListSummary (#9063)

pull/28217/head
Suguru Hirahara 2022-07-16 12:15:12 +00:00 committed by GitHub
parent 161a333a51
commit b90ea87d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -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);

View File

@ -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));
}
}