Fix width of nested elements in float mode, fixes #255

This commit is contained in:
Stéphane Goetz 2015-08-16 22:41:55 +02:00
parent 426706f76d
commit be439a3eb9
5 changed files with 15 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -212,7 +212,7 @@ pre {
} }
.page-header { .page-header {
padding: 0px; padding: 0;
} }
.page-header, blockquote, .page-header, blockquote,
@ -238,6 +238,14 @@ pre {
} }
} }
// Paragraphs and code inside lists and
// blockquotes should have 100% width
li, blockquote {
p, pre {
width:100%;
}
}
ul, ol { ul, ol {
li { li {
margin-left: 30px; margin-left: 30px;
@ -250,8 +258,8 @@ pre {
width: 47%; width: 47%;
border: none; border: none;
border-left: 10px solid white; border-left: 10px solid white;
margin: 0px 0px 10px 0px; margin: 0 0 10px 0;
padding: 0px 0px 0px 10px; padding: 0 0 0 10px;
} }
} }
} }