Skip to content

Commit

Permalink
Simpler approach
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Rodriguez committed Oct 7, 2015
1 parent a16d9ed commit 3fd0afd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions lms/static/sass/multicourse/_dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@
margin: 0;
width: flex-grid(9);


.wrapper-header-courses {
border-bottom: 4px solid $border-color-l4;
margin-bottom: $baseline;
Expand Down Expand Up @@ -257,10 +258,6 @@
}
}
}

&:focus {
outline: none;
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions lms/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</div>

<section class="container dashboard" id="dashboard-main">
<main class="my-courses" id="my-courses" aria-label="Content" tabindex="-1">
<section class="my-courses" id="my-courses" role="main" aria-label="Content">
<header class="wrapper-header-courses">
<h2 class="header-courses">${_("My Courses")}</h2>
</header>
Expand Down Expand Up @@ -126,7 +126,7 @@ <h3>${course_dir | h}</h3>
% endfor
</div>
% endif
</main>
</section>

% if settings.FEATURES.get('ENABLE_DASHBOARD_SEARCH'):
<div id="dashboard-search-bar" class="search-bar dashboard-search-bar" role="search" aria-label="Dashboard">
Expand Down
2 changes: 1 addition & 1 deletion lms/templates/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<%include file="header.html" />
% endif

<div class="content-wrapper" id="content">
<div class="content-wrapper" id="content" tabindex="-1">
${self.body()}
<%block name="bodyextra"/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lms/templates/main_django.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{% include "navigation.html" %}
{% endif %}
{% endwith %}
<div class="content-wrapper" id="content">
<div class="content-wrapper" id="content" tabindex="-1">
{% block body %}{% endblock %}
{% block bodyextra %}{% endblock %}
</div>
Expand Down

0 comments on commit 3fd0afd

Please sign in to comment.