IDEMPIERE-5406 - Define max-height to Charts in Dashboard Row Layout (#1462)

* IDEMPIERE-5406 - Define max-height to Charts in Dashboard Row Layout

* IDEMPIERE-5406 - Define max-height only in Row Layout

* IDEMPIERE-5406 - media query added

* IDEMPIERE-5406 - update default theme version
This commit is contained in:
Peter Takács 2022-09-07 09:28:54 +02:00 committed by GitHub
parent 3756af2e55
commit d249509b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View File

@ -57,6 +57,6 @@ Copyright (C) 2007 Ashley G Ramdass (ADempiere WebUI).
<!-- this js module doesn't actually exists and it is here for default theme version -->
<!-- since loading of js module is on demand, it doesn't cause any error as long as you don't try to load it -->
<javascript-module name="idempiere.theme.default" version="202208230800" />
<javascript-module name="idempiere.theme.default" version="202209070800" />
</language>

View File

@ -216,6 +216,18 @@
width: 100%;
}
@media screen and (min-width: 768px) {
.dashboard-row .chart-gadget {
max-height: 300px;
}
}
@media screen and (max-width: 767px) {
.dashboard-row .chart-gadget {
max-height: 150px;
}
}
.dashboard-widget.dashboard-widget-max .chart-gadget {
height: 100% !important;
}