Skip to content

Commit

Permalink
Merge branch 'hibbitts-design:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhibbitts authored Oct 17, 2024
2 parents 038aa00 + c93efe3 commit 21a3d4d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Changelog

## [v1.2.20](https://github.com/hibbitts-design/docsify-open-course-starter-kit/releases/tag/v1.2.20)
### 10/15/2024
### 10/17/2024

**Improved:**
* Updated CSS with word-wrap for code blocks

**Bugfix:**
* Scroll offset fix (with thanks and appreciation to @rizdaprasetya for the initial code)
* Added missing Prism language files
* Fix formatting conflict with Prism formatted code blocks

## [v1.2.19](https://github.com/hibbitts-design/docsify-open-course-starter-kit/releases/tag/v1.2.19)
### 10/09/2024
Expand Down
12 changes: 9 additions & 3 deletions docs/assets/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,18 @@
}

.markdown-section code {
white-space: pre-wrap!important;
overflow-wrap: anywhere;
white-space: pre-wrap !important;
overflow-wrap: break-word;
}

.markdown-section pre {
white-space: pre-wrap !important;
overflow-wrap: break-word;
}

.markdown-section pre code {
word-break: break-all!important;
white-space: pre-wrap !important;
overflow-wrap: break-word;
}

.markdown-section a {
Expand Down
4 changes: 4 additions & 0 deletions docs/assets/css/toc.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
flex-direction: row-reverse;
justify-content: center;
}
/* Specific style for .token.content inside code blocks */
.content code .token.content {
display: inline;
}
.markdown-section {
flex: 1 1 0%;
margin: 0 48px;
Expand Down

0 comments on commit 21a3d4d

Please sign in to comment.