[FIX] web: Correct checklist style in report editor
Steps:
- Go to studio
- Open report editor in any report
- Use Text block
- Insert /checklist
Normal bullets without boxes are used in the report, because the checklist are styled separately in web_editor/static/lib/odoo-editor/src/checklist.css
opw-2995045
closes odoo/odoo#102072
X-original-commit: 9b4a1d3a45d294797813d653090b3a3c541210f5
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: Achraf <abz@odoo.com>
This commit is contained in:
@@ -107,6 +107,35 @@ ol {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
/* Checklist */
|
||||
ul.o_checklist {
|
||||
> li {
|
||||
list-style: none;
|
||||
position: relative;
|
||||
margin-left: 20px;
|
||||
|
||||
&:not(.oe-nested):before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -20px;
|
||||
display: block;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
top: 1px;
|
||||
border: 1px solid;
|
||||
cursor: pointer;
|
||||
}
|
||||
&.o_checked:after {
|
||||
content: "✓";
|
||||
transition: opacity .5s;
|
||||
position: absolute;
|
||||
left: -18px;
|
||||
top: -1px;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 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