This commit is contained in:
Laurent Destailleur 2019-05-25 12:42:12 +02:00
parent 728e270307
commit d6aef89719
2 changed files with 7 additions and 9 deletions

View File

@ -3076,7 +3076,8 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
}
.boxstats, .boxstats130 {
display: inline-block;
margin: 8px;
margin-left: 8px;
margin-right: 8px;
margin-top: 5px;
margin-bottom: 5px;
text-align: center;
@ -3093,7 +3094,7 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
text-overflow: ellipsis;
}
.boxstats130 {
width: 158px;
width: 100%;
height: 59px;
/* padding: 3px; */
}
@ -3130,8 +3131,6 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
{
.boxstats, .boxstats130 {
margin: 3px;
/*border: 1px solid #ccc;
box-shadow: none; */
}
.boxstats130 {
text-align: <?php echo $left; ?>
@ -3143,15 +3142,14 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
.thumbstat150 {
flex: 1 1 110px;
margin-bottom: 8px;
width: 160px;
min-width: <?php echo isset($_SESSION['dol_screenwidth'])?min(160, round($_SESSION['dol_screenwidth']/2 - 20)):160; ?>px; /* on screen < 320, we guaranty to have 2 columns */
max-width: <?php echo isset($_SESSION['dol_screenwidth'])?min(161, round($_SESSION['dol_screenwidth']/2 - 20)):161; ?>px; /* on screen < 320, we guaranty to have 2 columns */
/* width: ...px; If I use with, there is trouble on size of flex boxes solved with min + (max that is a little bit higer than min) */
}
.dashboardlineindicator {
float: left;
padding-left: 5px;
}
.boxstats130 {
width: 148px;
}
.boxstats {
width: 111px;
}

View File

@ -3361,7 +3361,7 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
}
.boxstats130 {
width: 135px;
height: 48px;
height: 54px;
padding: 3px;
}
@media only screen and (max-width: 767px)