summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/form_view_layout.less
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/less/form_view_layout.less')
-rw-r--r--addons/web/static/src/less/form_view_layout.less16
1 files changed, 15 insertions, 1 deletions
diff --git a/addons/web/static/src/less/form_view_layout.less b/addons/web/static/src/less/form_view_layout.less
index 281cf0d217e..fc5522035e5 100644
--- a/addons/web/static/src/less/form_view_layout.less
+++ b/addons/web/static/src/less/form_view_layout.less
@@ -91,7 +91,7 @@
// Title
.oe_title {
> h1, > h2, > h3 {
- width: 100%; // Needed because inline-block when is a hx.o_row
+ width: 100%; // Needed because inline-block when is a hx.o_row
margin-top: 0;
margin-bottom: 0;
line-height: inherit;
@@ -276,6 +276,20 @@
padding: 0 1em;
}
}
+
+ .o_form_field_domain {
+ > .o_form_field_domain_panel {
+ margin-top: 8px;
+ }
+ &.o_inline_mode.o_edit_mode {
+ position: relative;
+
+ > .o_form_field_domain_panel {
+ .o-position-absolute(0, 0);
+ margin-top: 0;
+ }
+ }
+ }
}
// Overriden style when form view in modal