mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] test_themes: whitelist fa-stack with fa-
Some snippet may come with the `fa-stack` class which breaks the design-themes tests. task-4156290 Part of: task-4077427 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -64,7 +64,8 @@ CONFLICTUAL_CLASSES_RE = {
|
||||
re.compile(r'^(p(y|b)?-?\d+|padding-.+)$'): ['p0'],
|
||||
# Font awesome
|
||||
re.compile(r'^fa-\dx$'): [],
|
||||
re.compile(r'^fa-...+'): [],
|
||||
# Whitelist workaround for s_social_media inner snippet Layout: None
|
||||
re.compile(r'^fa-...+'): ['fa-stack'],
|
||||
# Rounded
|
||||
re.compile(r'^rounded-.+'): [],
|
||||
# Shadow
|
||||
|
||||
Reference in New Issue
Block a user