Skip to content

Commit

Permalink
🐛 Link Schedules modal list of schedules grows too long (#1563)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevdor authored Aug 22, 2023
1 parent 6912c08 commit ec24d0e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ export default function ScheduleLink({

<View
style={{
flex: `1 1 ${
(ROW_HEIGHT - 1) * (Math.max(schedules.length, 1) + 1)
}px`,
marginTop: 15,
flexBasis: (ROW_HEIGHT - 1) * (Math.max(schedules.length, 1) + 1),
overflow: 'hidden',
maxHeight: '50vh',
}}
>
<SchedulesTable
Expand Down
3 changes: 1 addition & 2 deletions packages/desktop-client/src/components/schedules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ export default function Schedules() {

<View
style={{
marginTop: 15,
flexBasis: (ROW_HEIGHT - 1) * (Math.max(schedules.length, 1) + 1),
overflow: 'hidden',
marginTop: 15,
}}
>
<SchedulesTable
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/1563.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [trevdor]
---

Fix Link Schedules modal list of schedules growing too long

0 comments on commit ec24d0e

Please sign in to comment.