Restrict width of blog figures for wide viewports
Docsy uses Bootstrap to restrict the width of text paragraphs when the viewport is very wide. Also apply that to <figure> elements within blog articles.
This commit is contained in:
@@ -635,6 +635,13 @@ body.td-documentation {
|
||||
}
|
||||
}
|
||||
|
||||
// Match Docsy-imposed max width on text body
|
||||
@media (min-width: 1200px) {
|
||||
body.td-blog main .td-content > figure {
|
||||
max-width: 80%;
|
||||
}
|
||||
}
|
||||
|
||||
.td-content {
|
||||
table code {
|
||||
background-color: inherit !important;
|
||||
|
||||
Reference in New Issue
Block a user