UX: Prevent topic content from overflowing horizontally

This commit is contained in:
Kris 2019-11-08 11:38:48 -05:00
parent e510bef114
commit 1a089ad23c
1 changed files with 10 additions and 1 deletions

View File

@ -146,10 +146,19 @@
}
}
.topic-content {
padding-top: 10px;
h1 {
line-height: $line-height-medium;
}
padding-top: 10px;
.lightbox-wrapper img {
max-width: 100%;
}
code,
pre {
// Prevent pre from being wider than viewport
white-space: pre-wrap;
word-break: break-word;
}
}
}
}