[FIX] web: fix checklist and blockquote style in report
Steps to reproduce: - Go to Sales and create a quotation - In "Terms and conditions" field, add a Checklist and a Quote, using "/" command - Print the quotation => Checkboxes are replaced by bullets and blockquote has no style. Solution: For blockquote in reports, use the same style than web_editor: https://github.com/odoo/odoo/blob/b2fa69202c6b3ab677973643711ccd561a2edaea/addons/web_editor/static/src/scss/web_editor.common.scss#L648-L654 opw-3349082 closes odoo/odoo#147619 X-original-commit: 8d069bb036dea9b0fa68e89a8a1886424b6fcc46 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com> Signed-off-by: Anh Thao Pham (pta) <pta@odoo.com>
This commit is contained in:
@@ -164,6 +164,13 @@ ul.o_checklist {
|
||||
}
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding: $spacer/2 $spacer;
|
||||
border-left: 5px solid;
|
||||
border-color: map-get($grays, '300');
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
// Wkhtmltopdf doesn't handle flexbox properly, both the content
|
||||
// of columns and columns themselves does not wrap over new lines
|
||||
// when needed: the font of the pdf will reduce to make the content
|
||||
|
||||
Reference in New Issue
Block a user