Skip to content

Commit cbd1ab0

Browse files
Zubair ShakoorZubair Shakoor
Zubair Shakoor
authored and
Zubair Shakoor
committed
fix: TIA-60: H2 tag converted into H1 for specific pages
1 parent 6d397ea commit cbd1ab0

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

lms/static/sass/course/base/_extends.scss

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ h1.top-header {
1919
padding-bottom: lh();
2020
}
2121

22+
h1.instructor-dashboard-title {
23+
border-bottom: none !important;
24+
}
25+
2226
.button-reset {
2327
text-transform: none;
2428
letter-spacing: 0;

lms/templates/components/header/header.underscore

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<% }) %>
1010
</nav>
1111
<% } %>
12-
<h2 class="hd hd-2 page-title"><%- title %></h2>
12+
<h1 class="hd hd-2 page-title"><%- title %></h1>
1313
<p class="page-description"><%- description %></p>
1414
</div>
1515
<div class="page-header-secondary"></div>

lms/templates/instructor/instructor_dashboard_2/instructor_dashboard_2.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
<div class="instructor-dashboard-wrapper-2">
115115
<main id="main" aria-label="Content" tabindex="-1">
116116
<section class="instructor-dashboard-content-2" id="instructor-dashboard-content">
117-
<h2 class="hd hd-2 instructor-dashboard-title">${_("Instructor Dashboard")}</h2>
117+
<h1 class="hd hd-2 instructor-dashboard-title">${_("Instructor Dashboard")}</h1>
118118
<div class="wrap-instructor-info studio-view">
119119
%if studio_url:
120120
<a class="instructor-info-action" href="${studio_url}">${_("View Course in Studio")}</a>

0 commit comments

Comments
 (0)