Skip to content

Commit

Permalink
fix: requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
PahaN47 committed Aug 20, 2024
1 parent f3d556a commit cceba12
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const Layout: React.FC<LayoutProps> = ({
<Menu />
</div>
)}
<div className={b('wrapper')} id={CONTENT_WRAPPER_ID}>
<div className={b('wrapper')} id={noScroll ? undefined : CONTENT_WRAPPER_ID}>
<div className={b('content', {'no-scroll': noScroll})}>{children}</div>
{!showOnlyContent && !hideFooter && <Footer />}
</div>
Expand Down
8 changes: 3 additions & 5 deletions src/components/LibraryVersion/LibraryVersion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ const LibraryVersion: FC<Props> = ({id}) => {
}

return (
<>
<Card className={b()} theme="warning" view="outlined">
<Text color="warning">{libraryVersion}</Text>
</Card>
</>
<Card className={b()} theme="warning" view="outlined">
<Text color="warning">{libraryVersion}</Text>
</Card>
);
};

Expand Down
2 changes: 1 addition & 1 deletion src/components/NavigationLayout/NavigationLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const NavigationLayout: React.FC<NavigationLayoutProps> = ({
/>
</div>
</div>
<div className={b('content-wrap')}>
<div className={b('content-wrap')} id={CONTENT_WRAPPER_ID}>
<div className={b('content')}>
{children}
<Footer containerClass={b('footer')} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ $block: '.#{variables.$ns}navigation-layout-section-block';
display: flex;
align-items: center;
padding: 12px 20px;
margin-top: 4px;
border-radius: 12px;
font-size: 15px;
line-height: 20px;
Expand Down

0 comments on commit cceba12

Please sign in to comment.