Skip to content
Merged
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: 10 additions & 2 deletions src/course-unit/CourseUnit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,16 @@
min-width: 900px;

.sub-header {
// To clean the blank space in the bottom of the sub header
margin-bottom: -35px;
// Remove the blank space at the bottom of the sub header at the source.
// The shared SubHeader reserves 1.75rem under its action buttons, which the
// unit page does not want because it renders its own status bar right below.
// Do not do this with a negative margin on `.sub-header`: that pulls the
// status bar up by a fixed amount regardless of how tall the title is, so a
// display name that wraps to two or more lines ends up underneath the
// "Live" / "Discussions Enabled" badges.
.sub-header-actions {
margin-bottom: 0;
}
}
}

Expand Down