Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Is there a way to remove the scrollbar #70

Open
markawili opened this issue May 6, 2022 · 1 comment
Open

Is there a way to remove the scrollbar #70

markawili opened this issue May 6, 2022 · 1 comment

Comments

@markawili
Copy link

Version

"@toast-ui/react-calendar": "^1.0.6",

Test Environment

windows 10
microsoft edge

Current Behavior

As title suggests, just wanted to ask if there is a way to remove the scrollbar in the calendar?

Expected Behavior

@adhrinae
Copy link
Contributor

adhrinae commented May 9, 2022

@markawili

Yes, You can override the default CSS rules.

For instance, to hide the scrollbars in the week view:

.tui-full-calendar-dayname-container {
  overflow-y: hidden;
}

.tui-full-calendar-weekday-grid {
  overflow-y: hidden;
}

.tui-full-calendar-weekday-schedules {
  overflow-y: hidden;
}

.tui-full-calendar-timegrid-container {
  overflow-y: hidden;
}

Example: https://stackblitz.com/edit/tui-calendar-playground-rk2ia1?file=index.js


You can find all of the CSS rules showing scrollbars here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants