diff --git a/cypress/e2e/invite/invite-dialog.spec.ts b/cypress/e2e/invite/invite-dialog.spec.ts index 16275da1d81..80edfa411d6 100644 --- a/cypress/e2e/invite/invite-dialog.spec.ts +++ b/cypress/e2e/invite/invite-dialog.spec.ts @@ -169,7 +169,6 @@ describe("Invite dialog", function () { cy.get(".mx_RoomHeader").within(() => { cy.get(".mx_RoomHeader_name--textonly") .realHover() - .get(".mx_RoomHeader_name--textonly:hover") .should("have.css", "background-color", "rgba(0, 0, 0, 0)"); }); diff --git a/res/css/views/rooms/_EventTile.pcss b/res/css/views/rooms/_EventTile.pcss index 75aec20489a..0aa75129917 100644 --- a/res/css/views/rooms/_EventTile.pcss +++ b/res/css/views/rooms/_EventTile.pcss @@ -1453,12 +1453,14 @@ $left-gutter: 64px; margin-bottom: $spacing-4; /* 1/4 of the non-compact margin-bottom */ } } - } - &[data-shape="ThreadsList"][data-notification]::before, - .mx_NotificationBadge { - /* stylelint-disable-next-line declaration-colon-space-after */ - inset-block-start: calc($notification-inset-block-start - var(--MatrixChat_useCompactLayout_group-padding-top)); + &[data-shape="ThreadsList"][data-notification]::before, + .mx_NotificationBadge { + /* stylelint-disable-next-line declaration-colon-space-after */ + inset-block-start: calc( + $notification-inset-block-start - var(--MatrixChat_useCompactLayout_group-padding-top) + ); + } } } diff --git a/src/utils/permalinks/Permalinks.ts b/src/utils/permalinks/Permalinks.ts index 6a76f66b0ec..56740e96a41 100644 --- a/src/utils/permalinks/Permalinks.ts +++ b/src/utils/permalinks/Permalinks.ts @@ -216,8 +216,7 @@ export class RoomPermalinkCreator { if (this.room?.currentState) { const aclEvent = this.room?.currentState.getStateEvents(EventType.RoomServerAcl, ""); if (aclEvent && aclEvent.getContent()) { - const getRegex = (hostname: string): RegExp => - new RegExp("^" + utils.globToRegexp(hostname, false) + "$"); + const getRegex = (hostname: string): RegExp => new RegExp("^" + utils.globToRegexp(hostname) + "$"); const denied = aclEvent.getContent<{ deny: string[] }>().deny; if (Array.isArray(denied)) {