Skip to content

Commit

Permalink
fix horizontal text overflow in toc sections & force wrapping
Browse files Browse the repository at this point in the history
- fixes wagtail#204
  • Loading branch information
kkartik07 authored and lb- committed Oct 11, 2022
1 parent ff5793e commit f58bb3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ All notable changes to this project will be documented in this file.

### Changed

- ...
- Update page contents (right sidebar) to ensure horizontal scrollbars do not appear (Kartik Kankurte)

### Removed

Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Paarth Agarwal
- Vince Salvino
- LB (Ben) Johnston
- Kartik Kankurte

## Sphinx Typo3 theme

Expand Down
2 changes: 2 additions & 0 deletions sass/_component_toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
color: $gray-700;
max-height: 100vh;
overflow-y: auto;
overflow-x: hidden;
word-break: break-all;

a {
color: $gray-600;
Expand Down

0 comments on commit f58bb3b

Please sign in to comment.