Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Commit be5ab52

Browse files
committed
Fix scrolling
1 parent 1fcc688 commit be5ab52

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

src/screens/hours/HoursView.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.hours {
2-
overflow-y: scroll;
2+
overflow-y: auto;
33
padding: 12px;
44
}
55

src/screens/projects/Projects.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
.root {
22
}
33

4+
.side-bar {
5+
overflow-y: auto;
6+
}
7+
8+
.tasks {
9+
overflow-y: auto;
10+
}

src/screens/projects/Projects.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default observer(function Projects() {
7878
return (
7979
<Layout>
8080
<Sider width={250} className="sider">
81-
<Layout style={{ padding: '12px' }}>
81+
<Layout style={{ padding: '12px' }} className="side-bar">
8282
<Space direction="vertical">
8383
<ProjectList onSelect={handleSelectProject} />
8484
<Button onClick={handleCreateProject} icon={<PlusOutlined />}>
@@ -87,7 +87,7 @@ export default observer(function Projects() {
8787
</Space>
8888
</Layout>
8989
</Sider>
90-
<Layout style={{ padding: '24px' }}>
90+
<Layout style={{ padding: '24px' }} className="tasks">
9191
<Space className="root" direction="vertical">
9292
<TaskList onSelect={handleSelectTask} />
9393
<TaskInput />

0 commit comments

Comments
 (0)