diff --git a/htdocs/takepos/css/pos.css.php b/htdocs/takepos/css/pos.css.php
index 5a773fc3347..769c343f1fe 100644
--- a/htdocs/takepos/css/pos.css.php
+++ b/htdocs/takepos/css/pos.css.php
@@ -248,6 +248,9 @@ div.wrapper{
text-align: center;
box-sizing: border-box;
background-color:#fff;
+ display: flex;
+ align-items: center;
+ justify-content: center;
}
div.wrapper2{
@@ -262,10 +265,14 @@ div.wrapper2{
text-align: center;
box-sizing: border-box;
background-color:#fff;
+ display: flex;
+ align-items: center;
+ justify-content: center;
}
img.imgwrapper {
max-width: 100%;
+ max-height: 100%;
}
button:active{
@@ -927,6 +934,7 @@ div#moreinfo, div#infowarehouse {
display: inline-flex;
align-items: center;
padding: 10px;
+ justify-content: normal;
}
.div5 .wrapper2.divempty {
diff --git a/htdocs/takepos/index.php b/htdocs/takepos/index.php
index fb3049715cf..bbbf9e0cd33 100644
--- a/htdocs/takepos/index.php
+++ b/htdocs/takepos/index.php
@@ -1388,7 +1388,7 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
echo '';
} else {
if (!getDolGlobalString('TAKEPOS_HIDE_CATEGORY_IMAGES')) {
- echo '';
+ echo '
';
}
}
?>
@@ -1433,7 +1433,7 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
echo '';
} else {
print '