revert css changes, add new css (#30699)
Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3df7bfca88
Коммит
583ba80c7e
@@ -0,0 +1,19 @@
|
||||
.custom-profile-attributes {
|
||||
border-top: 1px solid rgba(61, 60, 64, 0.08);
|
||||
border-bottom: 1px solid rgba(61, 60, 64, 0.08);
|
||||
margin-bottom: 25px;
|
||||
|
||||
.section-header {
|
||||
padding: 24px 0px;
|
||||
border-bottom: none;
|
||||
|
||||
.section-title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
// See LICENSE.txt for license information.
|
||||
|
||||
import React, {useEffect, useState, memo} from 'react';
|
||||
import './custom_profile_attributes.scss';
|
||||
import {FormattedMessage} from 'react-intl';
|
||||
import {useSelector} from 'react-redux';
|
||||
import {Link} from 'react-router-dom';
|
||||
@@ -118,6 +119,7 @@ const CustomProfileAttributes: React.FC<Props> = (props: Props): JSX.Element | n
|
||||
}
|
||||
|
||||
return (
|
||||
<div className='custom-profile-attributes'>
|
||||
<SettingsGroup
|
||||
id={props.id}
|
||||
title={
|
||||
@@ -126,6 +128,7 @@ const CustomProfileAttributes: React.FC<Props> = (props: Props): JSX.Element | n
|
||||
defaultMessage='Custom profile attributes sync'
|
||||
/>
|
||||
}
|
||||
container={false}
|
||||
subtitle={
|
||||
<FormattedMessage
|
||||
id='admin.customProfileAttributes.subtitle'
|
||||
@@ -176,6 +179,7 @@ const CustomProfileAttributes: React.FC<Props> = (props: Props): JSX.Element | n
|
||||
/>
|
||||
))}
|
||||
</SettingsGroup>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -23,12 +23,6 @@
|
||||
|
||||
.section-body {
|
||||
padding: 28px 32px;
|
||||
|
||||
.section-header {
|
||||
padding: 24px 0px;
|
||||
border-top: 1px solid rgba(61, 60, 64, 0.08);
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -62,24 +62,6 @@
|
||||
|
||||
.admin-console__content {
|
||||
max-width: 920px;
|
||||
|
||||
.admin-console__content {
|
||||
border-bottom: 1px solid rgba(61, 60, 64, 0.08);
|
||||
}
|
||||
|
||||
.section-header {
|
||||
padding: 24px 0px;
|
||||
border-top: 1px solid rgba(61, 60, 64, 0.08);
|
||||
|
||||
.section-title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.admin-console__checkbox-list {
|
||||
|
||||
Ссылка в новой задаче
Block a user