Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(agendaSection): scroll display none #431

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/web/src/components/organisms/AgendaSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const AgendaSection: React.FC = () => {
);

return (
<section css={scroll.y}>
<section css={[scroll.y, scroll.hidden]}>
minjoo0729 marked this conversation as resolved.
Show resolved Hide resolved
<div css={gridLayout}>
<AgendaCard.Group agendaStatus="ongoing">
{getAgendaCards("ongoing")}
Expand Down
8 changes: 4 additions & 4 deletions packages/web/src/styles/scroll.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { css } from "@emotion/react";
import { colors } from "@biseo/web/styles/color";

export const scrollBar = css`
::-webkit-scrollbar-thumb {
background-color: ${colors.gray400};
export const hideScrollBar = css`
::-webkit-scrollbar {
display: none;
}
`;

Expand All @@ -17,7 +17,7 @@ const applyDirection = (direction: "x" | "y") => css`
::-webkit-scrollbar-thumb {
border: 4px solid transparent;
background-clip: padding-box;

background-color: ${colors.gray400};
border-radius: 100px;
}

Expand Down
Loading