2024-05-13 10:51:12: merge [main:6f6359c4c01bf3e0cef37b14d6b016b7d5a1fa84];
This commit is contained in:
1 parent
2989c66a65
commit
739a9a3a4b
45 files changed
+4018
-309
No files matched your search
@@ -0,0 +1,19 @@
|
||||
@import "src/constants/style/styleConst";
|
||||
|
||||
.all-version-page {
|
||||
padding: $basic-padding*2 0;
|
||||
|
||||
&__back-btn {
|
||||
margin-bottom: $basic-margin*2;
|
||||
}
|
||||
|
||||
&__table {
|
||||
overflow: auto;
|
||||
height: calc(100vh - 150px);
|
||||
}
|
||||
|
||||
&__actions-field {
|
||||
display: flex;
|
||||
gap: $basic-margin
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,218 @@
|
||||
import {
|
||||
DeleteOutlined,
|
||||
EyeOutlined,
|
||||
ReloadOutlined,
|
||||
SwapOutlined
|
||||
} from '@ant-design/icons'
|
||||
import { Button, message, Popconfirm, Spin, Table, Tooltip } from 'antd'
|
||||
import { ColumnsType } from 'antd/es/table'
|
||||
import dayjs from 'dayjs'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { Navigate, useNavigate, useParams } from 'react-router-dom'
|
||||
|
||||
import CanEdit from '@components/CanEdit'
|
||||
import CompareVersionModal from '@components/CompareVersionModal'
|
||||
import ConfigurationPreviewModal from '@components/ConfigurationPreviewModal'
|
||||
|
||||
import { ConfigType } from '@pages/ModulesPage/module.type.ts'
|
||||
|
||||
import { useAppSelector } from '@hooks/redux.ts'
|
||||
import useRole from '@hooks/useRole.tsx'
|
||||
|
||||
import configServiceApi from '@services/configService.ts'
|
||||
import userServiceApi from '@services/userService.ts'
|
||||
|
||||
import { routePaths } from '@routes/routePaths.ts'
|
||||
|
||||
import { PermissionKeysType } from '@type/roles.type.ts'
|
||||
import { VersionType } from '@type/version.type.ts'
|
||||
|
||||
import './all-versions-page.scss'
|
||||
|
||||
|
||||
const AllVersionsPage = () => {
|
||||
const [showCompareModal, setShowCompareModal] = useState<boolean>(false)
|
||||
const [showPreviewModal, setShowPreviewModal] = useState<boolean>(false)
|
||||
|
||||
const [currentClickVersion, setCurrentClickVersion] = useState<VersionType>(
|
||||
{} as VersionType
|
||||
)
|
||||
const navigate = useNavigate()
|
||||
const { id = '', configId = '' } = useParams()
|
||||
const {
|
||||
data: versions = [],
|
||||
isLoading: isVersionLoading,
|
||||
isError: isVersionError
|
||||
} = configServiceApi.useGetAllVersionQuery(configId)
|
||||
const {
|
||||
data: currentConfig,
|
||||
isLoading: isCurrentConfigLoading,
|
||||
isError: isCurrentConfigError
|
||||
} = configServiceApi.useGetConfigByIdQuery(configId)
|
||||
const [deleteVersion] = configServiceApi.useDeleteVersionMutation()
|
||||
const [createUpdateConfig] = configServiceApi.useCreateUpdateConfigMutation()
|
||||
|
||||
const {
|
||||
data: allUsers = [],
|
||||
isLoading: isUsersLoading,
|
||||
isError: isUsersError
|
||||
} = userServiceApi.useGetAllUsersQuery()
|
||||
const { profile } = useAppSelector((state) => state.profileReducer)
|
||||
|
||||
const { role, hasPermission } = useRole()
|
||||
|
||||
const isLoading = isVersionLoading || isCurrentConfigLoading || isUsersLoading
|
||||
const isError = isVersionError || isCurrentConfigError || isUsersError
|
||||
const isPageAvailable = hasPermission(PermissionKeysType.read)
|
||||
|
||||
useEffect(() => {
|
||||
if (!isPageAvailable) {
|
||||
navigate(routePaths.home)
|
||||
}
|
||||
}, [isPageAvailable])
|
||||
useEffect(() => {
|
||||
if (!role) {
|
||||
navigate(routePaths.error)
|
||||
}
|
||||
}, [role])
|
||||
|
||||
if (isLoading) {
|
||||
return <Spin />
|
||||
}
|
||||
if (isError) {
|
||||
return <Navigate to={routePaths.error} />
|
||||
}
|
||||
|
||||
const handeRemoveVersion = (versionId: string) => {
|
||||
deleteVersion(versionId)
|
||||
.unwrap()
|
||||
.then(() => {
|
||||
message.success('Элемент успешно удален')
|
||||
})
|
||||
.catch(() => {
|
||||
message.error('Не удалось удалить элемент')
|
||||
})
|
||||
}
|
||||
const handleRevertVersion = (newData: Record<string, unknown>) => {
|
||||
const sendData = { ...currentConfig, data: newData } as ConfigType
|
||||
createUpdateConfig(sendData)
|
||||
.unwrap()
|
||||
.then(() => {
|
||||
message.success('Версия успешно восстановлена')
|
||||
})
|
||||
.catch(() => {
|
||||
message.error('Не удалось восстановить версию')
|
||||
})
|
||||
}
|
||||
const renderActionsField = (_: unknown, record: VersionType) => {
|
||||
return (
|
||||
<div className="all-version-page__actions-field">
|
||||
<CanEdit>
|
||||
<Tooltip title="Установить выбранную версию">
|
||||
<Popconfirm
|
||||
title="Вы действительно хотите установить выбранную версию ?"
|
||||
onConfirm={() => handleRevertVersion(record.data)}
|
||||
>
|
||||
<Button icon={<ReloadOutlined />} />
|
||||
</Popconfirm>
|
||||
</Tooltip>
|
||||
</CanEdit>
|
||||
<Tooltip title="Просмотр версии">
|
||||
<Button
|
||||
onClick={() => {
|
||||
setCurrentClickVersion(record)
|
||||
setShowPreviewModal(true)
|
||||
}}
|
||||
icon={<EyeOutlined />}
|
||||
/>
|
||||
</Tooltip>
|
||||
<Tooltip title="Сравнение версий">
|
||||
<Button
|
||||
onClick={() => {
|
||||
setCurrentClickVersion(record)
|
||||
setShowCompareModal(true)
|
||||
}}
|
||||
icon={<SwapOutlined />}
|
||||
/>
|
||||
</Tooltip>
|
||||
<CanEdit>
|
||||
<Popconfirm
|
||||
title="Вы действительно хотите удалить выбранную версию ?"
|
||||
onConfirm={() => handeRemoveVersion(record.id)}
|
||||
>
|
||||
<Button danger icon={<DeleteOutlined />} />
|
||||
</Popconfirm>
|
||||
</CanEdit>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
const columns: ColumnsType<VersionType> = [
|
||||
{
|
||||
key: 'configVersion',
|
||||
title: 'Версия конфигурации',
|
||||
dataIndex: 'configVersion'
|
||||
},
|
||||
{
|
||||
key: 'createdAt',
|
||||
title: 'Создано',
|
||||
dataIndex: 'createdAt',
|
||||
render: (value: string) => {
|
||||
return dayjs(value).format('HH:mm:ss DD.MM.YYYY')
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'user',
|
||||
title: 'Автор',
|
||||
dataIndex: 'adminId',
|
||||
render: (value: number) => {
|
||||
const user = allUsers.find((user) => user.id === value)
|
||||
if (user) {
|
||||
return `${user.lastName} ${user.firstName}`
|
||||
}
|
||||
return `${profile.lastName} ${profile.firstName}`
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'actions',
|
||||
title: 'Действия',
|
||||
dataIndex: 'actions',
|
||||
render: renderActionsField
|
||||
}
|
||||
]
|
||||
return (
|
||||
<section className="all-version-page">
|
||||
{showPreviewModal && (
|
||||
<ConfigurationPreviewModal
|
||||
versionCompare={true}
|
||||
config={currentClickVersion}
|
||||
open={showPreviewModal}
|
||||
onClose={() => setShowPreviewModal(false)}
|
||||
/>
|
||||
)}
|
||||
{showCompareModal && (
|
||||
<CompareVersionModal
|
||||
currentConfigId={currentConfig?.id || ''}
|
||||
config={currentClickVersion}
|
||||
open={showCompareModal}
|
||||
onClose={() => setShowCompareModal(false)}
|
||||
/>
|
||||
)}
|
||||
<Button
|
||||
className="all-version-page__back-btn"
|
||||
onClick={() => navigate(`${routePaths.modules}/${id}/configurations`)}
|
||||
>
|
||||
Назад
|
||||
</Button>
|
||||
<div className="all-version-page__table">
|
||||
<Table
|
||||
columns={columns}
|
||||
dataSource={versions}
|
||||
pagination={{ pageSize: 30 }}
|
||||
rowKey={(record) => record.id}
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
export default AllVersionsPage
|
||||
@@ -3,12 +3,13 @@
|
||||
.app-access-page {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
|
||||
.ant-tree {
|
||||
background: none;
|
||||
}
|
||||
|
||||
&__content-wrap{
|
||||
&__content-wrap {
|
||||
width: 100%;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
@@ -81,6 +81,7 @@ const AppAccessPage = () => {
|
||||
return (
|
||||
<section className="app-access-page">
|
||||
<Column
|
||||
showUpdateBtn={false}
|
||||
showAddBtn={false}
|
||||
showRemoveBtn={false}
|
||||
items={filterFirstColumnItems(
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
@import "../../constants/style/styleConst";
|
||||
|
||||
.configurations {
|
||||
height: calc(100vh - 150px);
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
|
||||
&__buttons {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: $basic-margin*2;
|
||||
|
||||
}
|
||||
|
||||
.active-configurations-table:last-child {
|
||||
margin-top: $basic-margin*3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
import { injectStyles } from '@stoplight/mosaic'
|
||||
import { Button, Spin } from 'antd'
|
||||
import { useEffect, useMemo, useState } from 'react'
|
||||
import { Outlet, useNavigate, useParams } from 'react-router-dom'
|
||||
|
||||
import ActiveConfigurationsTable from '@components/ActiveConfigurationsTable'
|
||||
import CanEdit from '@components/CanEdit'
|
||||
import CompareVersionModal from '@components/CompareVersionModal'
|
||||
import ConfigSchemaModal from '@components/ConfigSchemaModal'
|
||||
import ConfigurationPreviewModal from '@components/ConfigurationPreviewModal'
|
||||
|
||||
import { ConfigType } from '@pages/ModulesPage/module.type.ts'
|
||||
|
||||
import useRole from '@hooks/useRole.tsx'
|
||||
|
||||
import configServiceApi from '@services/configService.ts'
|
||||
import modulesServiceApi from '@services/modulesService.ts'
|
||||
|
||||
import { routePaths } from '@routes/routePaths.ts'
|
||||
|
||||
import { PermissionKeysType } from '@type/roles.type.ts'
|
||||
|
||||
import './configurations.scss'
|
||||
|
||||
|
||||
const Configurations = () => {
|
||||
const {
|
||||
data: modulesList = [],
|
||||
isLoading: isModulesLoading,
|
||||
isError: isModulesError
|
||||
} = modulesServiceApi.useGetModulesQuery('modules')
|
||||
const { id: selectedItemId = '', configId = '' } = useParams()
|
||||
const {
|
||||
data = { originalResponse: [], activeConfigs: [], inactiveConfigs: [] },
|
||||
isLoading: isConfigsLoading,
|
||||
isError: isConfigsError
|
||||
} = configServiceApi.useGetConfigsByModuleIdQuery(selectedItemId)
|
||||
|
||||
const { role, hasPermission } = useRole()
|
||||
const navigate = useNavigate()
|
||||
const [isModalOpen, setIsModalOpen] = useState(false)
|
||||
const [isShowModalOpen, setisShowModalOpen] = useState(false)
|
||||
const [isCompareModalOpen, setIsCompareModalOpen] = useState(false)
|
||||
|
||||
const [currentConfig, setCurrentConfig] = useState<ConfigType>(
|
||||
{} as ConfigType
|
||||
)
|
||||
const { activeConfigs, inactiveConfigs } = data
|
||||
const currentModule = useMemo(
|
||||
() => modulesList.find((module) => module.id === selectedItemId),
|
||||
[selectedItemId, modulesList]
|
||||
)
|
||||
const isLoading = isModulesLoading || isConfigsLoading
|
||||
const isError = isModulesError || isConfigsError
|
||||
const isPageAvailable = hasPermission(PermissionKeysType.read)
|
||||
|
||||
useEffect(() => {
|
||||
if (!isPageAvailable) {
|
||||
navigate(routePaths.home)
|
||||
}
|
||||
}, [isPageAvailable])
|
||||
useEffect(() => {
|
||||
if (!role) {
|
||||
navigate(routePaths.error)
|
||||
}
|
||||
}, [role])
|
||||
|
||||
if (isLoading) {
|
||||
return <Spin />
|
||||
}
|
||||
|
||||
if (configId) {
|
||||
return <Outlet />
|
||||
}
|
||||
injectStyles()
|
||||
return (
|
||||
<section className="configurations">
|
||||
<ConfigurationPreviewModal
|
||||
config={currentConfig}
|
||||
open={isShowModalOpen}
|
||||
onClose={() => setisShowModalOpen(false)}
|
||||
/>
|
||||
<ConfigSchemaModal
|
||||
schema={currentModule?.configSchema || {}}
|
||||
open={isModalOpen}
|
||||
onClose={() => setIsModalOpen(false)}
|
||||
/>
|
||||
{isCompareModalOpen && (
|
||||
<CompareVersionModal
|
||||
currentConfigId={currentConfig.id}
|
||||
config={currentConfig}
|
||||
open={isCompareModalOpen}
|
||||
onClose={() => setIsCompareModalOpen(false)}
|
||||
/>
|
||||
)}
|
||||
<div className="configurations__buttons">
|
||||
<Button
|
||||
className="configurations____buttons__show-schema-btn"
|
||||
onClick={() => setIsModalOpen(true)}
|
||||
>
|
||||
Текущая схема конфигурации
|
||||
</Button>
|
||||
<CanEdit>
|
||||
<Button
|
||||
type="primary"
|
||||
className="configurations__buttons__new-config-brn"
|
||||
onClick={() => {
|
||||
// TODO создание новой конфигурации
|
||||
}}
|
||||
>
|
||||
Создать конфигурацию
|
||||
</Button>
|
||||
</CanEdit>
|
||||
</div>
|
||||
<ActiveConfigurationsTable
|
||||
isActiveTable
|
||||
data={isError ? [] : activeConfigs}
|
||||
handleShowConfig={(config) => {
|
||||
setCurrentConfig(config)
|
||||
setisShowModalOpen(true)
|
||||
}}
|
||||
handleShowCompareModal={(config) => {
|
||||
setCurrentConfig(config)
|
||||
setIsCompareModalOpen(true)
|
||||
}}
|
||||
/>
|
||||
<ActiveConfigurationsTable
|
||||
data={isError ? [] : inactiveConfigs}
|
||||
handleShowConfig={(config) => {
|
||||
setCurrentConfig(config)
|
||||
setisShowModalOpen(true)
|
||||
}}
|
||||
handleShowCompareModal={(config) => {
|
||||
setCurrentConfig(config)
|
||||
setIsCompareModalOpen(true)
|
||||
}}
|
||||
/>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
export default Configurations
|
||||
@@ -0,0 +1,49 @@
|
||||
@import "../../constants/style/styleConst";
|
||||
|
||||
.connection-page {
|
||||
&__content {
|
||||
padding: 2 * $basic-padding 3 * $basic-padding 2 * $basic-padding 0;
|
||||
width: 100%;
|
||||
|
||||
&__wrap-table {
|
||||
overflow-x: scroll;
|
||||
height: calc(100vh - 100px);
|
||||
}
|
||||
}
|
||||
|
||||
&__endpoint-list {
|
||||
&__item {
|
||||
height: 25px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&__inner-marker {
|
||||
font-size: 11px;
|
||||
border: 1px solid #15D1E6;
|
||||
border-radius: 12px;
|
||||
padding: 0 4px;
|
||||
margin: 4px
|
||||
}
|
||||
}
|
||||
|
||||
&__no-data {
|
||||
user-select: none;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 1.5em;
|
||||
overflow: hidden;
|
||||
font-family: PT Sans, sans-serif;
|
||||
font-weight: 500;
|
||||
padding: 8px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
&__inner-tag{
|
||||
margin-left: $basic-margin !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,150 @@
|
||||
import { Spin, Table, Tag, Tooltip } from 'antd'
|
||||
import { ColumnsType } from 'antd/es/table'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { useNavigate, useParams } from 'react-router-dom'
|
||||
|
||||
import { AddressType, EndpointType, ModuleStatusType, ModuleType } from '@pages/ModulesPage/module.type.ts'
|
||||
|
||||
import useRole from '@hooks/useRole.tsx'
|
||||
|
||||
import modulesServiceApi from '@services/modulesService.ts'
|
||||
|
||||
import { routePaths } from '@routes/routePaths.ts'
|
||||
|
||||
import { PermissionKeysType } from '@type/roles.type.ts'
|
||||
|
||||
import './connections.scss'
|
||||
import dayjs from 'dayjs'
|
||||
import relativeTime from 'dayjs/plugin/relativeTime'
|
||||
|
||||
const Connections = () => {
|
||||
const { data: ConnectionsList = [], isLoading: isModulesLoading } =
|
||||
modulesServiceApi.useGetModulesQuery('modules')
|
||||
const { role, hasPermission } = useRole()
|
||||
const navigate = useNavigate()
|
||||
const { id } = useParams()
|
||||
const [obj, setObj] = useState<ModuleStatusType[] | []>([])
|
||||
|
||||
const isLoading = isModulesLoading
|
||||
const isPageAvailable = hasPermission(PermissionKeysType.read)
|
||||
|
||||
useEffect(() => {
|
||||
const filterId = ConnectionsList.find((item: ModuleType) => item.id === id)
|
||||
if (filterId && filterId.status) {
|
||||
setObj(filterId.status)
|
||||
}
|
||||
}, [ConnectionsList, id])
|
||||
|
||||
useEffect(() => {
|
||||
if (!isPageAvailable) {
|
||||
navigate(routePaths.home)
|
||||
}
|
||||
}, [isPageAvailable])
|
||||
useEffect(() => {
|
||||
if (!role) {
|
||||
navigate(routePaths.error)
|
||||
}
|
||||
}, [role])
|
||||
|
||||
if (isLoading) {
|
||||
return <Spin />
|
||||
}
|
||||
|
||||
const formatFullDate = (obj: string) =>
|
||||
dayjs(obj).format('YYYY-MM-DD, HH:mm:ss')
|
||||
|
||||
const keySelector = ({
|
||||
address: { ip, port },
|
||||
establishedAt
|
||||
}: ModuleStatusType) => ip + port + establishedAt
|
||||
|
||||
const renderEndpoints = ({ endpoints }: ModuleStatusType) => {
|
||||
if (endpoints && endpoints.length) {
|
||||
return (
|
||||
<ul className="connection-page__endpoint-list">
|
||||
{endpoints.map(({ path, inner }) => (
|
||||
<li className="connection-page__endpoint-list__item" key={path}>
|
||||
{path}
|
||||
{inner && (
|
||||
<Tag className="connection-page__inner-tag" color="processing" bordered={false}>
|
||||
Внутренний
|
||||
</Tag>
|
||||
)}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="connection-page__no-data">Нет реализованных методов</div>
|
||||
)
|
||||
}
|
||||
|
||||
const columns: ColumnsType = [
|
||||
{
|
||||
title: '#',
|
||||
dataIndex: '',
|
||||
key: 'num',
|
||||
render: (
|
||||
_val: ModuleStatusType,
|
||||
_record: ModuleStatusType,
|
||||
index: number
|
||||
) => index + 1
|
||||
},
|
||||
{
|
||||
title: 'Версия',
|
||||
dataIndex: 'version',
|
||||
key: 'version'
|
||||
},
|
||||
{
|
||||
title: 'Версия библиотеки',
|
||||
dataIndex: 'libVersion',
|
||||
key: 'libVersion'
|
||||
},
|
||||
{
|
||||
title: 'Адрес',
|
||||
dataIndex: 'address',
|
||||
key: 'address',
|
||||
render: (value: AddressType) => `${value.ip}:${value.port}`
|
||||
},
|
||||
{
|
||||
title: 'Соединение установлено',
|
||||
dataIndex: 'establishedAt',
|
||||
key: 'establishedAt',
|
||||
render: (val: string) => {
|
||||
dayjs.extend(relativeTime)
|
||||
|
||||
return (
|
||||
<Tooltip title={formatFullDate(val)}>{dayjs(val).fromNow()}</Tooltip>
|
||||
)
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Реализованные методы',
|
||||
dataIndex: 'endpoints',
|
||||
key: 'endpoints',
|
||||
render: (value: EndpointType[]) => (value && value.length) || '0'
|
||||
}
|
||||
]
|
||||
|
||||
return (
|
||||
<section className="connection-page">
|
||||
<div className="connection-page__content">
|
||||
<div className="connection-page__content__wrap-table">
|
||||
<Table
|
||||
rowKey={keySelector}
|
||||
pagination={false}
|
||||
dataSource={obj}
|
||||
columns={columns}
|
||||
expandable={{
|
||||
expandedRowRender: (i) => renderEndpoints(i)
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
export default Connections
|
||||
@@ -220,7 +220,6 @@ const ModulesPage = () => {
|
||||
navigate(path)
|
||||
}}
|
||||
className="modules-page__tabs"
|
||||
tabPosition={'left'}
|
||||
items={secondColumnItems.map((item) => {
|
||||
return {
|
||||
disabled: selectedItemId === '',
|
||||
|
||||
@@ -87,3 +87,9 @@ export interface ModuleType {
|
||||
status: ModuleStatusType[]
|
||||
configSchema: JSONSchema
|
||||
}
|
||||
|
||||
export interface ConfigResponse {
|
||||
originalResponse: ConfigType[]
|
||||
activeConfigs: ConfigType[]
|
||||
inactiveConfigs:ConfigType[]
|
||||
}
|
||||
@@ -4,8 +4,9 @@
|
||||
height: 100%;
|
||||
|
||||
&__tabs {
|
||||
overflow-x: scroll;
|
||||
padding: $basic-padding*3 $basic-padding*2;
|
||||
width: 100%;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
.ant-list-item {
|
||||
@@ -120,17 +121,8 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ant-tabs-nav-list {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.ant-tabs-tab {
|
||||
justify-content: flex-end;
|
||||
margin: 10px 0 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.column .column__items__item span {
|
||||
width: fit-content;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
@import '../../constants/style/styleConst';
|
||||
|
||||
.profile-page {
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: start;
|
||||
|
||||
Reference in new issue
Block a user