summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authoroco-odoo <oco@odoo.com>2019-09-16 11:31:31 +0000
committerfw-bot <otis@odoo.com>2019-09-16 16:07:09 +0000
commitfa9beab3eab77ddbc9d21cd1eb70ea0fe6be5b18 (patch)
treeaf64a3fed33fe988b95b7436aa94376b274d3aa7 /addons/web/static
parentf1ae4bd20741dd29540e3bfbecda8dc924e62f80 (diff)
[FIX] account: dashboard: Center the empty dashboard message horizontally when the setup bar is displayed on a small screen
Before that, when using a small screen (with width <= 768 px) and showing the accounting dashboard of a company without any chart of accounts installed, the icon and message prompting to install a chart of accounts was displayed in the lower left corner, instead of being horizontally centered. closes odoo/odoo#36974 X-original-commit: 4999f47d7e283c6a5799e68f2b0e1351638e17a3 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com> Co-authored-by: Nicolas Lempereur <nle-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static')
-rw-r--r--addons/web/static/src/scss/banner.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/scss/banner.scss b/addons/web/static/src/scss/banner.scss
index d7237203897..be011d70698 100644
--- a/addons/web/static/src/scss/banner.scss
+++ b/addons/web/static/src/scss/banner.scss
@@ -1,8 +1,9 @@
.o_has_banner {
.o_view_nocontent {
top: 30%;
- @media screen and (max-height: map-get($grid-breakpoints, 'md')) {
+ @include media-breakpoint-down(sm) {
position: relative;
+ margin: auto;
}
}
}