Skip to content
Snippets Groups Projects
Commit fa10ba34 authored by Antoine Prieels's avatar Antoine Prieels
Browse files

[FIX] hw_screen: Use full width of display


The customer display used only a small part of the available width.

closes odoo/odoo#31865

Signed-off-by: default avatarQuentin Lejeune (qle) <qle@odoo.com>
parent 7ac7c977
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ class HardwareScreen(web.Home):
</head>
<body class="original_body">
<div hidden class="shadow"></div>
<div class="container">
<div class="container-fluid">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<h1>Odoo Point of Sale</h1>
......
......@@ -32,8 +32,8 @@
$("head").append($parsedHTML.find(".resources").html());
}
$(".container").html($parsedHTML.find('.pos-customer_facing_display').html());
$(".container").attr('class', 'container').addClass($parsedHTML.find('.pos-customer_facing_display').attr('class'));
$(".container-fluid").html($parsedHTML.find('.pos-customer_facing_display').html());
$(".container-fluid").attr('class', 'container-fluid').addClass($parsedHTML.find('.pos-customer_facing_display').attr('class'));
var d = $('.pos_orderlines_list');
d.scrollTop(d.prop("scrollHeight"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment