UX: Prevent topic content from overflowing horizontally
This commit is contained in:
parent
e510bef114
commit
1a089ad23c
|
@ -146,10 +146,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.topic-content {
|
.topic-content {
|
||||||
|
padding-top: 10px;
|
||||||
h1 {
|
h1 {
|
||||||
line-height: $line-height-medium;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue