Skip to content

Commit

Permalink
welp i tried
Browse files Browse the repository at this point in the history
  • Loading branch information
lecafard committed Sep 25, 2020
1 parent 0901ab0 commit b4314be
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion backend/schemas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"format": "date"
},
"minItems": 1,
"maxItems": 30
"maxItems": 40
},
"min_time": {
"type": "integer",
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/components/schedule/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
column-gap: 1px;
row-gap: 1px;
max-height: 100%;
overflow-y: scroll;
overflow-x: scroll;
}

.cell {
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/pages/guest/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function GuestPage({ match: { params: { id } } }: RouteComponentProps<{ id?: str
Select your availability
</h3>
</div>
<div className="row is-center">
<div className="row is-center" style={{overflowX: "scroll"}}>
<Schedule
days={eventDetails.options.type === "day" ?
constructDays(eventDetails.options.days) :
Expand All @@ -118,10 +118,10 @@ function GuestPage({ match: { params: { id } } }: RouteComponentProps<{ id?: str
availability={schedule.schedule}
setAvailability={(entry) => setSchedule({...schedule, schedule: entry})}
/>
<label>Notes (optional)</label>
</div>
<label>Notes (optional)</label>
<textarea value={schedule.notes} onChange={(e) => setSchedule({...schedule, notes: e.target.value})}>
</textarea>
</div>
<div className="row is-center" style={{ marginTop: "20px" }}>

<button
Expand Down Expand Up @@ -181,7 +181,7 @@ function GuestPage({ match: { params: { id } } }: RouteComponentProps<{ id?: str
Group availability
</h3>
</div>
<div className="row is-center">
<div className="row is-center" style={{overflowX: "scroll"}}>
<Schedule
days={eventDetails.options.type === "day" ?
constructDays(eventDetails.options.days) :
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/home/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function New({ history }: RouteComponentProps) {
.map((v) => (v ? "1" : 0))
.join("");
} else {
meeting.options.dates = dates;
meeting.options.dates = Array.from(new Set(dates));
}

api
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/manage/meeting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function ManageMeetingPage({ match: { params: { id } } }: RouteComponentProps<{
</div>

<div className={`row`}>
<div className="col">
<div className="col" style={{overflowX: "scroll"}}>
<ReadOnlySchedule
dates={eventDetails.options.type === "day" ?
constructDays(eventDetails.options.days) :
Expand Down

0 comments on commit b4314be

Please sign in to comment.