Commit ed7ae725 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_corporate_identity: add space between <p> and align span when it's too long

parent b5eb9d7c
...@@ -772,10 +772,12 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space ...@@ -772,10 +772,12 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
} }
.ci-book .ci-book-img > img ~ span { .ci-book .ci-book-img > img ~ span {
margin-left: 3cm; margin-left: 3cm;
display:inline-block;
} }
.ci-book .ci-book-img + span { .ci-book .ci-book-img + span {
margin-left: 3cm; margin-left: 3cm;
display:inline-block;
} }
.ci-book table caption, .ci-book table caption,
...@@ -791,8 +793,14 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space ...@@ -791,8 +793,14 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
/* editor adding <p>... */ /* editor adding <p>... */
html .ci-book table td p { html .ci-book table td p {
margin: 0; margin: 0;
padding: 0;
text-indent: 0; text-indent: 0;
display:inline-block;
}
html .ci-book table td p:first-child {
padding: 0;
}
html .ci-book table td p:not(:first-child){
padding-left: 5px;
} }
/* === code boxes === */ /* === code boxes === */
.ci-book pre { .ci-book pre {
......
...@@ -800,10 +800,12 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space ...@@ -800,10 +800,12 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
} }
.ci-book .ci-book-img > img ~ span { .ci-book .ci-book-img > img ~ span {
margin-left: 3cm; margin-left: 3cm;
display:inline-block;
} }
.ci-book .ci-book-img + span { .ci-book .ci-book-img + span {
margin-left: 3cm; margin-left: 3cm;
display:inline-block;
} }
.ci-book table caption, .ci-book table caption,
.ci-book .ci-book-caption { .ci-book .ci-book-caption {
...@@ -818,8 +820,15 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space ...@@ -818,8 +820,15 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
/* editor adding <p>... */ /* editor adding <p>... */
html .ci-book table td p { html .ci-book table td p {
margin: 0; margin: 0;
padding: 0;
text-indent: 0; text-indent: 0;
display:inline-block;
}
html .ci-book table td p:first-child {
padding: 0;
}
html .ci-book table td p:not(:first-child){
padding-left: 5px;
} }
/* === code boxes === */ /* === code boxes === */
.ci-book pre { .ci-book pre {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment