[MM-61684]: Updated the heading element tag(#29841)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
16381bf7a4
Коммит
d28f84f525
@@ -107,7 +107,7 @@ describe('User Management', () => {
|
|||||||
|
|
||||||
cy.get('#cancelModalButton').should('be.visible').should('have.text', 'Cancel');
|
cy.get('#cancelModalButton').should('be.visible').should('have.text', 'Cancel');
|
||||||
cy.get('#confirmModalButton').should('be.visible').should('have.text', 'Manage User Settings').click();
|
cy.get('#confirmModalButton').should('be.visible').should('have.text', 'Manage User Settings').click();
|
||||||
cy.get('h1#accountSettingsModalLabel').should('be.visible').should('have.text', `Manage ${user.nickname}'s Settings`);
|
cy.get('h2#accountSettingsModalLabel').should('be.visible').should('have.text', `Manage ${user.nickname}'s Settings`);
|
||||||
cy.get('.adminModeBadge').should('be.visible').should('have.text', 'Admin Mode');
|
cy.get('.adminModeBadge').should('be.visible').should('have.text', 'Admin Mode');
|
||||||
} else {
|
} else {
|
||||||
cy.get('.manageUserSettingsBtn').should('not.exist');
|
cy.get('.manageUserSettingsBtn').should('not.exist');
|
||||||
|
|||||||
@@ -69,7 +69,10 @@ const TeamSettingsModal = ({onExited, canInviteUsers}: Props) => {
|
|||||||
id='teamSettingsModalLabel'
|
id='teamSettingsModalLabel'
|
||||||
closeButton={true}
|
closeButton={true}
|
||||||
>
|
>
|
||||||
<Modal.Title componentClass='h1'>
|
<Modal.Title
|
||||||
|
componentClass='h2'
|
||||||
|
className='modal-header__title'
|
||||||
|
>
|
||||||
{formatMessage({id: 'team_settings_modal.title', defaultMessage: 'Team Settings'})}
|
{formatMessage({id: 'team_settings_modal.title', defaultMessage: 'Team Settings'})}
|
||||||
</Modal.Title>
|
</Modal.Title>
|
||||||
</Modal.Header>
|
</Modal.Header>
|
||||||
|
|||||||
@@ -351,8 +351,9 @@ class UserSettingsModal extends React.PureComponent<Props, State> {
|
|||||||
closeButton={true}
|
closeButton={true}
|
||||||
>
|
>
|
||||||
<Modal.Title
|
<Modal.Title
|
||||||
componentClass='h1'
|
componentClass='h2'
|
||||||
id='accountSettingsModalLabel'
|
id='accountSettingsModalLabel'
|
||||||
|
className='modal-header__title'
|
||||||
>
|
>
|
||||||
{modalTitle}
|
{modalTitle}
|
||||||
</Modal.Title>
|
</Modal.Title>
|
||||||
|
|||||||
@@ -8,6 +8,15 @@
|
|||||||
|
|
||||||
.modal-header {
|
.modal-header {
|
||||||
border-bottom: 1px solid rgba(var(--center-channel-color-rgb), 0.08);
|
border-bottom: 1px solid rgba(var(--center-channel-color-rgb), 0.08);
|
||||||
|
|
||||||
|
&__title {
|
||||||
|
color: var(--center-channel-color);
|
||||||
|
font-family: 'Metropolis', serif;
|
||||||
|
font-size: 22px;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 28px;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tabs
|
// Tabs
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user