Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User profile image #7

Merged
merged 2 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/course-home/dates-tab/DatesTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const DatesTab = ({ intl }) => {
};

return (
<div className="raised-card dates-tab">
<div className="raised-card dates-tab mt-5">
<div role="heading" aria-level="1" className="heading mb-3">
{intl.formatMessage(messages.title)}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/courseware/course/Course.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const Course = ({
<Helmet>
<title>{`${pageTitleBreadCrumbs.join(' | ')} | ${getConfig().SITE_NAME}`}</title>
</Helmet>
<div className="position-relative d-flex align-items-center course-breadcrumbs">
<div className="position-relative d-flex align-items-center course-breadcrumbs mt-5">
<CourseBreadcrumbs
courseId={courseId}
sectionId={section ? section.id : null}
Expand Down
2 changes: 1 addition & 1 deletion src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
}

.course-tabs-navigation {
margin-bottom: 3rem;
margin-bottom: 0;

.container-xl {
max-width: 1660px;
Expand Down
2 changes: 2 additions & 0 deletions src/tab-page/TabPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const TabPage = ({ intl, ...props }) => {
org,
start,
title,
profileImageUrl,
} = useModel('courseHomeMeta', courseId);

if (courseStatus === 'loading') {
Expand Down Expand Up @@ -78,6 +79,7 @@ const TabPage = ({ intl, ...props }) => {
courseOrg={org}
courseNumber={number}
courseTitle={title}
userProfileImage={profileImageUrl}
/>
<LoadedTabPage {...props} />
<Footer />
Expand Down
Loading