Skip to content

Commit

Permalink
Merge pull request #52 from carpentries/fix-accordion-lists
Browse files Browse the repository at this point in the history
attempt to address list style
  • Loading branch information
zkamvar authored Jul 15, 2022
2 parents 79b523d + c7821f1 commit f2df91f
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: varnish
Title: Front-end for The Carpentries Lesson Template
Version: 0.2.1
Version: 0.2.2
Authors@R: c(
person(given = "Zhian N.",
family = "Kamvar",
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# varnish 0.2.2

* Formatting of list elements in the solutions and instructor notes now follows
the same formatting as the rest of the content (reported: #51 by @tobyhodges,
fixed: #52 by @zkamvar)

# varnish 0.2.1

* The sidebar navigation in mobile and tablet views now includes all the
Expand Down
2 changes: 1 addition & 1 deletion inst/pkgdown/assets/assets/scripts.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/pkgdown/assets/assets/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/pkgdown/assets/assets/styles.css.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions source/stylesheets/callouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@
padding-top: 25px;
padding-bottom: 25px;
background: $light-gray;
li {
list-style-type: inherit;
list-style-position: inside;
margin-left: 0px;
margin-top:10px;
margin-bottom:20px;
}
}
h2 {
border-left: 10px $yellow solid;
Expand Down
7 changes: 7 additions & 0 deletions source/stylesheets/instructornotes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
.accordion-body {
padding: 25px 35px;
background: $light-gray;
li {
list-style-type: inherit;
list-style-position: inside;
margin-left: 0px;
margin-top:10px;
margin-bottom:20px;
}
}
.accordion-button {
position: relative;
Expand Down

0 comments on commit f2df91f

Please sign in to comment.