mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] test_themes: allow flexibility on align-self-*-* uses
This allows more flexibility on the use of `align-self-*-*` classes combination to better handle responsiveness in some scenario. Related to task-4373543 Part-of: odoo/design-themes#1054 Related: odoo/odoo#189299 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
committed by
qsm-odoo
parent
7ced5683fb
commit
e5b61cf169
@@ -37,7 +37,12 @@ CONFLICTUAL_CLASSES = [
|
||||
CONFLICTUAL_CLASSES_RE = {
|
||||
# Align
|
||||
re.compile(r'^align-(?!(self|items)-).+'): [],
|
||||
re.compile(r'^align-self-.+'): [],
|
||||
re.compile(r'^align-self-(?:start|center|end)$'): [],
|
||||
re.compile(r'^align-self-sm-(?:start|center|end)$'): [],
|
||||
re.compile(r'^align-self-md-(?:start|center|end)$'): [],
|
||||
re.compile(r'^align-self-lg-(?:start|center|end)$'): [],
|
||||
re.compile(r'^align-self-xl-(?:start|center|end)$'): [],
|
||||
re.compile(r'^align-self-xxl-(?:start|center|end)$'): [],
|
||||
re.compile(r'^align-items-.+'): [],
|
||||
# BG
|
||||
re.compile(r'^bg(-|_)'): [
|
||||
|
||||
Reference in New Issue
Block a user