NEW adapt category and product pictures sizes on takepos
This commit is contained in:
parent
3c96c42f32
commit
8fc1805f65
@ -248,6 +248,9 @@ div.wrapper{
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color:#fff;
|
background-color:#fff;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.wrapper2{
|
div.wrapper2{
|
||||||
@ -262,10 +265,14 @@ div.wrapper2{
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color:#fff;
|
background-color:#fff;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.imgwrapper {
|
img.imgwrapper {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active{
|
button:active{
|
||||||
@ -927,6 +934,7 @@ div#moreinfo, div#infowarehouse {
|
|||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
justify-content: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.div5 .wrapper2.divempty {
|
.div5 .wrapper2.divempty {
|
||||||
|
|||||||
@ -1388,7 +1388,7 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
|
|||||||
echo '<span class="fa fa-chevron-right centerinmiddle" style="font-size: 5em; cursor: pointer;"></span>';
|
echo '<span class="fa fa-chevron-right centerinmiddle" style="font-size: 5em; cursor: pointer;"></span>';
|
||||||
} else {
|
} else {
|
||||||
if (!getDolGlobalString('TAKEPOS_HIDE_CATEGORY_IMAGES')) {
|
if (!getDolGlobalString('TAKEPOS_HIDE_CATEGORY_IMAGES')) {
|
||||||
echo '<img class="imgwrapper" height="100%" id="catimg'.$count.'" />';
|
echo '<img class="imgwrapper" id="catimg'.$count.'" />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@ -1433,7 +1433,7 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
|
|||||||
echo '<button type="button" id="probutton'.$count.'" class="productbutton" style="display: none;"></button>';
|
echo '<button type="button" id="probutton'.$count.'" class="productbutton" style="display: none;"></button>';
|
||||||
} else {
|
} else {
|
||||||
print '<div class="" id="proprice'.$count.'"></div>';
|
print '<div class="" id="proprice'.$count.'"></div>';
|
||||||
print '<img class="imgwrapper" height="100%" title="" id="proimg'.$count.'">';
|
print '<img class="imgwrapper" title="" id="proimg'.$count.'">';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user