Skip to content

Commit

Permalink
Fix github navbar..
Browse files Browse the repository at this point in the history
  • Loading branch information
chownces committed Jun 21, 2021
1 parent f0c7a00 commit ce04285
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pages/githubAssessments/GitHubAssessmentListing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const GitHubAssessmentListing: React.FC<GitHubAssessmentListingProps> = props =>
}

return (
<div className="Assessment">
<div className="Assessment" style={{ overflow: 'auto' }}>
<ContentDisplay display={display} loadContentDispatch={() => {}} />
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/githubAssessments/GitHubClassroom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const GitHubClassroom: React.FC<DispatchProps> = props => {
);

return (
<div className="Academy">
<div className="Academy" style={{ overflow: 'hidden' }}>
<GitHubAssessmentsNavigationBar
changeCourseHandler={changeCourseHandler}
handleGitHubLogIn={props.handleGitHubLogIn}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`GitHubClassroom renders correctly 1`] = `
"<div className=\\"Academy\\">
"<div className=\\"Academy\\" style={{...}}>
<GitHubAssessmentsNavigationBar changeCourseHandler={[Function (anonymous)]} handleGitHubLogIn={[Function: handleGitHubLogIn]} handleGitHubLogOut={[Function: handleGitHubLogOut]} octokit={{...}} courses={[undefined]} selectedCourse=\\"\\" types={[undefined]} assessmentTypeOverviews={[undefined]} />
<Switch>
<Route path=\\"/githubassessments/login\\" render={[Function: render]} />
Expand Down
2 changes: 1 addition & 1 deletion src/styles/_commons.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.ContentDisplay {
height: 100%;
height: fit-content;
width: 100%;

&.row {
Expand Down

0 comments on commit ce04285

Please sign in to comment.