Skip to content

Commit

Permalink
tweak gap between sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
elproffesore authored Feb 23, 2024
1 parent c78cdb9 commit 5babf05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syllabussite.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function updateSession(session){
session.items.map(item => {
updateItem(item,session)
})
session.margin = session.index == 0 ? -session.height/3 : sessions[session.index - 1].margin + sessions[session.index - 1].height - sessions[session.index - 1].padding * 0.75;
session.margin = session.index == 0 ? -session.height/3 : sessions[session.index - 1].margin + sessions[session.index - 1].height - sessions[session.index - 1].padding * 0.6;
session.padding = window.innerHeight * 2;
session.height += session.padding;

Expand Down

0 comments on commit 5babf05

Please sign in to comment.