Skip to content

Commit

Permalink
style: sidebar max-width값 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunjae95 committed Jan 3, 2025
1 parent 1af220d commit 5f04786
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/components/Sidebar/Sidebar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ aside {
position: sticky;
top: 87px;
z-index: var(--z-index-aside);
max-width: 203px;
}

.cohort {
Expand Down
7 changes: 1 addition & 6 deletions src/components/Sidebar/Sidebar.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Meta, StoryFn, StoryObj } from "@storybook/react";
import type { Meta, StoryObj } from "@storybook/react";
import Sidebar from "./Sidebar.tsx";

const meta = {
Expand All @@ -8,11 +8,6 @@ const meta = {
disable: true,
},
},
decorators: (Story: StoryFn) => (
<div style={{ width: "203px" }}>
<Story />
</div>
),
args: {
githubUsername: "testuser",
easyProgress: "5/10",
Expand Down

0 comments on commit 5f04786

Please sign in to comment.