Skip to content

Commit

Permalink
feat(blog): remove fix position
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-jpg committed Nov 30, 2023
1 parent de1356f commit 15c34fc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/components/OnboardingGuide/Guide/Guide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ $space-s: 12px;
$space-l: 20px;

#{$block} {
position: fixed;
right: 24px;
bottom: 24px;
z-index: $layer-popup;

min-width: min-content;
Expand Down Expand Up @@ -48,8 +45,6 @@ $space-l: 20px;

&__titl-text {
font-family: var(--typography-font-family);

font-size: var(--g-text-subheader-3-font-size);
line-height: var(--g-text-subheader-3-line-height-rel);
font-size: var(--g-text-subheader-2-font-size);
letter-spacing: 0;
Expand All @@ -66,11 +61,7 @@ $space-l: 20px;

margin-bottom: $space-2-xs;

<<<<<<< HEAD
color: var(--g-color-text-light-primary);
=======
color: var(--g-color-text-dark-primary);
>>>>>>> c8bdf08 (feat(Guide): add Guide)
}

&__title_state_expanded {
Expand Down
14 changes: 14 additions & 0 deletions src/components/OnboardingGuide/Guide/__stories__/Guide.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,19 @@ WithItems.args = {
>
{[addText('Тестовый текст')]}
</GuideMenuItem>,
<GuideMenuItem
key={'testItem'}
title="Тестовый элемент"
buttons={[
<Button view="normal" size="m" onClick={actionsButtonHandlers} key={'rollUp'}>
Кнопка 3
</Button>,
<Button view="normal" size="m" key={'сomplete'} onClick={actionsButtonHandlers}>
Кнопка 4
</Button>,
]}
>
{[addText('Тестовый текст')]}
</GuideMenuItem>,
],
};

0 comments on commit 15c34fc

Please sign in to comment.