Skip to content

Commit cf842d3

Browse files
committed
Fix minor style issues
1 parent 7b7f3c0 commit cf842d3

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

assets/css/main.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/sass/components/_highlight.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
.hljs {
22
padding: 0;
33
}
4+
pre.hljs:focus-visible {
5+
box-shadow: 0 0 0 0.25rem var(--bs-focus-ring-color);
6+
outline: none;
7+
}
48
table.src tr td.num {
59
color: #6a737d;
610
border-right: 1px solid var(--bs-border-color);

assets/sass/components/_sidebar.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@
5353
li.header {
5454
padding-top: 0;
5555
}
56-
.sidebar-lang-menu {
57-
margin-top: 6px;
58-
}
5956
div.offcanvas-body {
6057
width: 24px;
6158
}

assets/sass/main.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ $card-title-spacer-y: 0px;
6262
// Legacy panel look for BS5 cards
6363
//$card-bg: #f5f5f5;
6464

65-
$primary-border-subtle: $aplus-focus;
6665
$focus-ring-color: $aplus-focus;
6766
$input-focus-border-color: $aplus-focus;
6867

course/templates/course/_course_menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h4 class="course-menu-label" id="course-menu-heading">{% translate "COURSE" %}<
2828
</div>
2929

3030
{% if instance.language|first == "|" %}
31-
<div class="sidebar-lang-menu d-block dropdown mb-2">
31+
<div class="sidebar-lang-menu d-block dropdown mb-1">
3232
<button class="aplus-button--secondary aplus-button--sm" id="sidebar-lang-dropdown" type="button"
3333
data-bs-toggle="dropdown" title="{% translate "CHANGE_LANGUAGE" %}"
3434
aria-label="{% translate "CHANGE_LANGUAGE" %}" aria-haspopup="true" aria-expanded="false"

course/templates/course/course_base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ <h4>{% trans "Calendar" %}</h4>
149149
</ol>
150150
</nav>
151151
{% endblock %}
152-
<main class="row">
152+
<main class="row mb-2">
153153
{% block columns %}
154154
<div class="col-xl-9">
155155
{% block coursecontent %}

0 commit comments

Comments
 (0)