[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>
This commit is contained in:
oco-odoo
2019-09-16 16:07:09 +00:00
committed by fw-bot
co-authored by Nicolas Lempereur
parent f1ae4bd207
commit fa9beab3ea
+2 -1
View File
@@ -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;
}
}
}