diff options
| author | Géry Debongnie <ged@odoo.com> | 2014-05-26 09:37:16 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2014-05-26 09:37:16 +0200 |
| commit | 6e6ae4cbf94e9ff8a4cccab3da2417aec3dfbc0c (patch) | |
| tree | 17dea0e194a4d3110723492283fe5aa3e8821f23 /addons/web/static | |
| parent | 779aabfc5b2908b8f2fd42a7c15f866c403cdc61 (diff) | |
[IMP] improves the scrolling behaviour
the mail menu is a client action, so not subject to the same template
as regular views. so, it had to be patched to properly scroll like
other views (meaning: the 'header', left menu and top menu are fixed)
Also, changes the width of the searchbbar into a min-width css property,
to allow it to grow more. The reason is that we don't want the searchbox
to take two lines (or more), which will force the view_manager_header to be
higher, and which will cause slight issues with the scrollbar (absolutely
positioned)
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/src/css/base.css | 4 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 5a95ee15a32..c62b2045553 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1150,7 +1150,7 @@ .openerp .oe_application > div > .oe_view_manager > .oe_view_manager_body { position: absolute; overflow: auto; - top: 90px; + top: 91px; bottom: 0; left: 0; right: 0; @@ -1391,7 +1391,7 @@ float: right; padding: 1px 0; line-height: 18px; - width: 400px; + min-width: 400px; border: 1px solid #ababab; background: white; -moz-border-radius: 13px; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index df5689c4574..0a41275f9e8 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -964,7 +964,7 @@ $sheet-padding: 16px > .oe_view_manager_body position: absolute overflow: auto - top: 90px + top: 91px bottom: 0 left: 0 right: 0 @@ -1161,7 +1161,7 @@ $sheet-padding: 16px float: right padding: 1px 0 line-height: 18px - width: 400px + min-width: 400px border: 1px solid #ababab background: white @include radius(13px) |
