From 7e3cc935f1d66df3abea2fb9063cd64a15021dd8 Mon Sep 17 00:00:00 2001 From: Daria Larionova Date: Thu, 5 Dec 2024 13:48:30 +0300 Subject: [PATCH] Fix --- src/shared/constants/qa/dash.ts | 3 +++ src/ui/units/dash/containers/Body/Body.tsx | 4 ++-- src/ui/units/dash/containers/FixedHeader/FixedHeader.scss | 2 +- src/ui/units/dash/containers/FixedHeader/FixedHeader.tsx | 3 +-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/shared/constants/qa/dash.ts b/src/shared/constants/qa/dash.ts index 232fdc04bc..1d887f922a 100644 --- a/src/shared/constants/qa/dash.ts +++ b/src/shared/constants/qa/dash.ts @@ -91,6 +91,9 @@ export enum FixedHeaderQa { StaticFixedHeaderGroupContent = 'static-fixed-header-group-content', HidableFixedHeaderGroupWrapper = 'hidable-fixed-header-group-wrapper', HidableFixedHeaderGroupContent = 'hidable-fixed-header-group-content', + + Container = 'dash-fixed-header-containter', + Controls = 'dash-fixed-header-controls', } export enum DashRelationTypes { diff --git a/src/ui/units/dash/containers/Body/Body.tsx b/src/ui/units/dash/containers/Body/Body.tsx index 2d148d138b..7cb2451a5d 100644 --- a/src/ui/units/dash/containers/Body/Body.tsx +++ b/src/ui/units/dash/containers/Body/Body.tsx @@ -649,7 +649,7 @@ class Body extends React.PureComponent { ( - )} @@ -684,7 +684,7 @@ class Body extends React.PureComponent { view="flat" size="xl" width="max" - pin="brick-round" + pin="round-brick" title={i18n( 'dash.main.view', isCollapsed ? 'tooltip_expand-fixed-group' : 'tooltip_collapse-fixed-group', diff --git a/src/ui/units/dash/containers/FixedHeader/FixedHeader.scss b/src/ui/units/dash/containers/FixedHeader/FixedHeader.scss index 71ad5f00a9..ebd6ad5426 100644 --- a/src/ui/units/dash/containers/FixedHeader/FixedHeader.scss +++ b/src/ui/units/dash/containers/FixedHeader/FixedHeader.scss @@ -70,7 +70,7 @@ &__controls-settings { width: 20px; position: absolute; - left: calc(-1 * var(--dash-inline-padding)); + right: calc(-1 * var(--dash-inline-padding)); top: var(--g-spacing-2); } diff --git a/src/ui/units/dash/containers/FixedHeader/FixedHeader.tsx b/src/ui/units/dash/containers/FixedHeader/FixedHeader.tsx index a3aa970f38..5b8ea362d5 100644 --- a/src/ui/units/dash/containers/FixedHeader/FixedHeader.tsx +++ b/src/ui/units/dash/containers/FixedHeader/FixedHeader.tsx @@ -110,7 +110,6 @@ export const FixedHeaderControls: React.FC = ({ return (
= ({ return (