Fix dashboard chart width on wide screens

This commit is contained in:
Sodbileg Gansukh 2022-01-04 14:21:36 +08:00 committed by Peter Zimon
parent d5018cbb3a
commit 442772c694

View File

@ -413,6 +413,7 @@ a.gh-dashboard-container {
flex-direction: column; flex-direction: column;
align-items: flex-end; align-items: flex-end;
justify-content: flex-end; justify-content: flex-end;
width: 100%;
} }
.gh-dashboard-chart.nodata { .gh-dashboard-chart.nodata {
@ -436,14 +437,14 @@ a.gh-dashboard-container {
display: flex; display: flex;
justify-content: stretch; justify-content: stretch;
height: 228px; height: 228px;
width: 35.5vw; width: 100%;
padding-top: 12px; padding-top: 12px;
margin-right: -10px; margin-right: -10px;
} }
.gh-dashboard-chart-box.small { .gh-dashboard-chart-box.small {
position: relative; position: relative;
width: 14vw; /* width: 14vw; */
min-width: 165px; min-width: 165px;
height: 110px; height: 110px;
padding-top: 0; padding-top: 0;