Use semantic headings in space preferences (#11021)
* remove mx_SettingsTab_heading style * use semantic headings in space preferences dialog * remove unused settings style: mx_SettingsTab_subheading
This commit is contained in:
parent
176daad49f
commit
e9a8f4a11d
5 changed files with 31 additions and 69 deletions
|
@ -75,7 +75,6 @@ describe("<UserSettingsDialog />", () => {
|
|||
const getActiveTabLabel = (container: Element) =>
|
||||
container.querySelector(".mx_TabbedView_tabLabel_active")?.textContent;
|
||||
const getActiveTabHeading = (container: Element) =>
|
||||
container.querySelector(".mx_SettingsTab_heading")?.textContent ||
|
||||
container.querySelector(".mx_SettingsSection .mx_Heading_h2")?.textContent;
|
||||
|
||||
it("should render general settings tab when no initialTabId", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue