Skip to content

Commit

Permalink
Merge branch 'develop' into kerry/24922/semantic-headings-space-pref
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry committed May 31, 2023
2 parents 5c70bc3 + 176daad commit 660271c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
1 change: 0 additions & 1 deletion cypress/e2e/invite/invite-dialog.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)");
});

Expand Down
12 changes: 7 additions & 5 deletions res/css/views/rooms/_EventTile.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
}
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/utils/permalinks/Permalinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 660271c

Please sign in to comment.