From a7f55ac9fe4e72c1efab5e582d0d12cceec1e57a Mon Sep 17 00:00:00 2001 From: ivan deng Date: Tue, 2 Apr 2019 06:49:45 +0800 Subject: [PATCH] opt app_product_panel --- app_web_fullwidth/__manifest__.py | 2 +- app_web_fullwidth/static/src/scss/style.scss | 33 ++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/app_web_fullwidth/__manifest__.py b/app_web_fullwidth/__manifest__.py index d2f2c608..df1b1e27 100644 --- a/app_web_fullwidth/__manifest__.py +++ b/app_web_fullwidth/__manifest__.py @@ -22,7 +22,7 @@ { 'name': 'App Web Responsive Fullwidth (form view full width)', - 'version': '12.0.1.2', + 'version': '12.19.04.02', 'category': 'web', 'author': 'Sunpop.cn', 'website': 'https://www.sunpop.cn', diff --git a/app_web_fullwidth/static/src/scss/style.scss b/app_web_fullwidth/static/src/scss/style.scss index 04221bbd..4153e241 100644 --- a/app_web_fullwidth/static/src/scss/style.scss +++ b/app_web_fullwidth/static/src/scss/style.scss @@ -41,4 +41,37 @@ sheet全宽 .o_form_view .o_form_sheet_bg > .o_form_sheet { max-width: 98% !important; } +} +//xs: 0, +//vsm: 475px, +//sm: 576px, +//md: 768px, +//lg: 992px, +//xl: 1200px, +//xxl: 1534px, + +/* +不将chatter显示在右边,form全宽 +*/ +//将原来 768时的 flex 调整为一直不flex +.o_form_view { + @include media-breakpoint-up(md) { + display: block; + } + @include media-breakpoint-up(xl) { + display: block; + .o_form_sheet_bg > .o_form_sheet { + max-width: 98% !important; + } + } + @include media-breakpoint-up(xxl) { + display: block; + .oe_chatter { + width: auto; + max-width: 1474px; + } + } + .o_form_sheet_bg { + width: auto; + } } \ No newline at end of file