fix: incorrect usage of header elements
This commit is contained in:
@@ -19,9 +19,9 @@ export const NoCoursesView = () => {
|
||||
className="d-flex align-items-center justify-content-center mb-4.5"
|
||||
>
|
||||
<Image src={emptyCourseSVG} alt={formatMessage(messages.bannerAlt)} />
|
||||
<h1>
|
||||
<h3 className="h1">
|
||||
{formatMessage(messages.lookingForChallengePrompt)}
|
||||
</h1>
|
||||
</h3>
|
||||
<p>
|
||||
{formatMessage(messages.exploreCoursesPrompt)}
|
||||
</p>
|
||||
|
||||
@@ -40,8 +40,7 @@ export const DashboardLayout = ({ children }) => {
|
||||
<Col {...courseListColumnProps} className="course-list-column">
|
||||
{children}
|
||||
</Col>
|
||||
<Col {...columnConfig.sidebar} className="sidebar-column">
|
||||
{!isCollapsed && (<h2 className="course-list-title"> </h2>)}
|
||||
<Col {...columnConfig.sidebar} className={['sidebar-column', !isCollapsed && 'not-collapsed']}>
|
||||
<WidgetSidebarSlot />
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
@@ -6,6 +6,14 @@
|
||||
|
||||
.sidebar-column {
|
||||
padding: 0 map-get($spacers, 3) 0 map-get($spacers, 1);
|
||||
|
||||
&.not-collapsed {
|
||||
padding-top: map-get($spacers, 2);
|
||||
|
||||
& >:first-child {
|
||||
margin-top: map-get($spacers, 5\.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(lg) {
|
||||
|
||||
@@ -64,7 +64,7 @@ export const ConfirmEmailBanner = () => {
|
||||
</Button>
|
||||
)}
|
||||
>
|
||||
<h1 className="text-center p-3">{formatMessage(messages.confirmEmailModalHeader)}</h1>
|
||||
<h4 className="text-center p-3 h1">{formatMessage(messages.confirmEmailModalHeader)}</h4>
|
||||
<p className="text-center">{formatMessage(messages.confirmEmailModalBody)}</p>
|
||||
</MarketingModal>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user