diff --git a/index.html b/index.html
index 35c9688..880ae3e 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,7 @@
-
+
diff --git a/src/App.tsx b/src/App.tsx
index c477a60..e8477c6 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -167,7 +167,7 @@ export const App: FC = ({ isFederation, forcedTheme }) => {
trackHoverBg: colors?.colorText,
},
Menu: {
- itemBg: colors?.colorBgContainer,
+ itemBg: colors?.colorBgLayout,
itemHoverBg: colors?.colorBgContainer,
itemActiveBg: colors?.colorInfoBg,
itemSelectedBg: colors?.colorInfoBg,
diff --git a/src/components/atoms/BackLink/BackLink.tsx b/src/components/atoms/BackLink/BackLink.tsx
index 20310d3..38f0a5d 100644
--- a/src/components/atoms/BackLink/BackLink.tsx
+++ b/src/components/atoms/BackLink/BackLink.tsx
@@ -1,7 +1,7 @@
import React, { FC } from 'react'
import { To } from 'react-router-dom'
import { ArrowLeftOutlined } from '@ant-design/icons'
-import { TitleWithNoTopMargin } from '../TitleWithNoTopMargin'
+import { TitleWithNoMargin } from '../TitleWithNoMargin'
import { Styled } from './styled'
type TBackLinkProps = {
@@ -14,11 +14,11 @@ export const BackLink: FC = ({ to, title }) => {
return (
-
+
-
+
- {title}
+ {title}
)
}
diff --git a/src/components/atoms/BackLink/styled.ts b/src/components/atoms/BackLink/styled.ts
index be5a6f6..53bb0ca 100644
--- a/src/components/atoms/BackLink/styled.ts
+++ b/src/components/atoms/BackLink/styled.ts
@@ -1,13 +1,16 @@
import styled from 'styled-components'
import { Link } from 'react-router-dom'
-import { BACKLINK_HEIGHT, BACKLINK_MARGIN_TOP } from 'constants/blocksSizes'
+import { BACKLINK_HEIGHT } from 'constants/blocksSizes'
const Container = styled.div`
display: flex;
gap: 8px;
align-items: baseline;
- margin-top: ${BACKLINK_MARGIN_TOP}px;
height: ${BACKLINK_HEIGHT}px;
+
+ * {
+ white-space: nowrap;
+ }
`
const CustomLink = styled(Link)`
diff --git a/src/components/atoms/DefaultLayout/DefaultLayout.ts b/src/components/atoms/DefaultLayout/DefaultLayout.ts
index 5e61a5f..6f7eaf7 100644
--- a/src/components/atoms/DefaultLayout/DefaultLayout.ts
+++ b/src/components/atoms/DefaultLayout/DefaultLayout.ts
@@ -1,12 +1,5 @@
import styled from 'styled-components'
-import {
- HEAD_FIRST_ROW,
- HEAD_SECOND_ROW,
- HEAD_BORDER_BOTTOM,
- FOOTER_HEIGHT,
- MAIN_CONTENT_VERTICAL_PADDING,
- MAIN_CONTENT_HORIZONTAL_PADDING,
-} from 'constants/blocksSizes'
+import { HEAD_FIRST_ROW, FOOTER_HEIGHT, MAIN_CONTENT_HORIZONTAL_PADDING } from 'constants/blocksSizes'
type TLayoutProps = {
$bgColor: string
@@ -28,9 +21,8 @@ type TContentPaddingProps = {
}
const ContentPadding = styled.div`
- padding: ${({ $isFederation }) =>
- $isFederation ? 0 : `${MAIN_CONTENT_VERTICAL_PADDING}px ${MAIN_CONTENT_HORIZONTAL_PADDING}px`};
- min-height: calc(100vh - ${HEAD_FIRST_ROW}px - ${HEAD_SECOND_ROW}px - ${HEAD_BORDER_BOTTOM}px - ${FOOTER_HEIGHT}px);
+ padding: ${({ $isFederation }) => ($isFederation ? 0 : `0 ${MAIN_CONTENT_HORIZONTAL_PADDING}px`)};
+ min-height: calc(100vh - ${HEAD_FIRST_ROW}px - ${FOOTER_HEIGHT}px);
display: flex;
flex-flow: column;
`
diff --git a/src/components/organisms/Header/organisms/SelectorInside/molecules/EntrySelect/EntrySelect.tsx b/src/components/atoms/EntrySelect/EntrySelect.tsx
similarity index 80%
rename from src/components/organisms/Header/organisms/SelectorInside/molecules/EntrySelect/EntrySelect.tsx
rename to src/components/atoms/EntrySelect/EntrySelect.tsx
index d54753b..1098408 100644
--- a/src/components/organisms/Header/organisms/SelectorInside/molecules/EntrySelect/EntrySelect.tsx
+++ b/src/components/atoms/EntrySelect/EntrySelect.tsx
@@ -10,9 +10,10 @@ type TEntrySelectProps = {
value?: string
onChange: (val: string) => void
disabled?: boolean
+ fullwidth?: boolean
}
-export const EntrySelect: FC = ({ placeholder, value, disabled, options, onChange }) => {
+export const EntrySelect: FC = ({ placeholder, value, disabled, options, onChange, fullwidth }) => {
return (