diff --git a/addons/point_of_sale/static/src/app/screens/product_screen/product_list/product_list.scss b/addons/point_of_sale/static/src/app/screens/product_screen/product_list/product_list.scss index bd44093e175..1b11268030c 100644 --- a/addons/point_of_sale/static/src/app/screens/product_screen/product_list/product_list.scss +++ b/addons/point_of_sale/static/src/app/screens/product_screen/product_list/product_list.scss @@ -11,3 +11,12 @@ .button-no-demo { color: #017e84 !important; } + +.scrollbar-hidden { + -ms-overflow-style: none; + scrollbar-width: none; + + &::-webkit-scrollbar { + display: none; + } +} diff --git a/addons/point_of_sale/static/src/app/screens/product_screen/product_list/product_list.xml b/addons/point_of_sale/static/src/app/screens/product_screen/product_list/product_list.xml index d4f05a93198..15f81b00381 100644 --- a/addons/point_of_sale/static/src/app/screens/product_screen/product_list/product_list.xml +++ b/addons/point_of_sale/static/src/app/screens/product_screen/product_list/product_list.xml @@ -9,6 +9,7 @@ categories="getCategories()" onClick="(id) => this.pos.setSelectedCategoryId(id)" showImage="showCategoryImages" + class="ui.isSmall ? 'scrollbar-hidden' : ''" />