Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix extensions panel style #29273

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

langleyd
Copy link
Member

@langleyd langleyd commented Feb 14, 2025

As a part of design review in https://github.com/element-hq/wat-internal/issues/242

What does this PR do?

  • Adjust spacing above/below “Add extensions” button
  • Also noticed the separator is inset two much from the side of the panel, so fixed that.
  • Also noticed the empty state was scrolling vertically, so fixed that.

What does it looks like?

Before
image

After
image

@langleyd langleyd changed the title Langleyd/fix room sumary style Fix extensions style Feb 14, 2025
@langleyd langleyd changed the title Fix extensions style Fix extensions panel style Feb 14, 2025
@americanrefugee
Copy link

Changes LGTM 👍

await viewRoomSummaryByName(page, app, ROOM_NAME);

await page.getByRole("menuitem", { name: "Extensions" }).click();
await expect(page.locator(".mx_RightPanel")).toMatchScreenshot("with-extensions.png");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use an accessible role instead of a css class as selector?

Comment on lines 129 to +134
top: -76px;
}

.mx_EmptyState {
/* Stop empty state scrolling */
height: calc(100% - 76px);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe declare a CSS variable with -76px value and use it in the _ExtensionsCard.pcss file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants