From 3d82ffcdcd2051dd0bb74f96bbd057c6c4134fa9 Mon Sep 17 00:00:00 2001 From: Daniil Senkiv Date: Tue, 28 Jan 2020 14:50:23 +0300 Subject: [PATCH] Web.Client: Settings: removed useless container for header --- .../pages/Settings/Layout/Section/Header/index.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/web/ASC.Web.Client/src/components/pages/Settings/Layout/Section/Header/index.js b/web/ASC.Web.Client/src/components/pages/Settings/Layout/Section/Header/index.js index c98e70dacb..94a1893051 100644 --- a/web/ASC.Web.Client/src/components/pages/Settings/Layout/Section/Header/index.js +++ b/web/ASC.Web.Client/src/components/pages/Settings/Layout/Section/Header/index.js @@ -1,19 +1,9 @@ import React from "react"; import { withRouter } from "react-router"; -import { utils } from 'asc-web-components'; import { Headline } from 'asc-web-common'; -import styled from 'styled-components'; import { withTranslation } from 'react-i18next'; import { getKeyByLink, settingsTree, getTKeyByKey } from '../../../utils'; -const HeaderContainer = styled(Headline)` - margin-right: 16px; - max-width: calc(100vw - 430px); - @media ${utils.device.tablet} { - max-width: calc(100vw - 96px); - } -`; - class SectionHeaderContent extends React.Component { constructor(props) { @@ -57,9 +47,9 @@ class SectionHeaderContent extends React.Component { const { header } = this.state; return ( - + {t(header)} - + ); } };