summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
Diffstat (limited to 'addons')
-rw-r--r--addons/web/static/src/scss/modal.scss9
1 files changed, 7 insertions, 2 deletions
diff --git a/addons/web/static/src/scss/modal.scss b/addons/web/static/src/scss/modal.scss
index 5d4aae44ff9..a71f8aa0ff2 100644
--- a/addons/web/static/src/scss/modal.scss
+++ b/addons/web/static/src/scss/modal.scss
@@ -29,11 +29,16 @@
text-align: left;
justify-content: flex-start;
+ // TODO These rules should not be necessary if we used buttons
+ // as direct children of the modal-footer as normally required
> div, > footer {
- // TODO this rule should not be necessary if we used buttons
- // as direct children of the modal-footer as normally required
flex: 1 1 auto;
}
+
+ footer {
+ > :not(:first-child) { margin-left: .25rem; }
+ > :not(:last-child) { margin-right: .25rem; }
+ }
}
}