revert css changes, add new css (#30699)

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Scott Bishel
2025-04-16 08:21:00 -06:00
коммит произвёл GitHub
родитель 3df7bfca88
Коммит 583ba80c7e
4 изменённых файлов: 81 добавлений и 82 удалений

Просмотреть файл

@@ -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. // See LICENSE.txt for license information.
import React, {useEffect, useState, memo} from 'react'; import React, {useEffect, useState, memo} from 'react';
import './custom_profile_attributes.scss';
import {FormattedMessage} from 'react-intl'; import {FormattedMessage} from 'react-intl';
import {useSelector} from 'react-redux'; import {useSelector} from 'react-redux';
import {Link} from 'react-router-dom'; import {Link} from 'react-router-dom';
@@ -118,6 +119,7 @@ const CustomProfileAttributes: React.FC<Props> = (props: Props): JSX.Element | n
} }
return ( return (
<div className='custom-profile-attributes'>
<SettingsGroup <SettingsGroup
id={props.id} id={props.id}
title={ title={
@@ -126,6 +128,7 @@ const CustomProfileAttributes: React.FC<Props> = (props: Props): JSX.Element | n
defaultMessage='Custom profile attributes sync' defaultMessage='Custom profile attributes sync'
/> />
} }
container={false}
subtitle={ subtitle={
<FormattedMessage <FormattedMessage
id='admin.customProfileAttributes.subtitle' id='admin.customProfileAttributes.subtitle'
@@ -176,6 +179,7 @@ const CustomProfileAttributes: React.FC<Props> = (props: Props): JSX.Element | n
/> />
))} ))}
</SettingsGroup> </SettingsGroup>
</div>
); );
}; };

Просмотреть файл

@@ -23,12 +23,6 @@
.section-body { .section-body {
padding: 28px 32px; 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 { .admin-console__content {
max-width: 920px; 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 { .admin-console__checkbox-list {