[FIX] point_of_sale: alignment note textarea

before fix:
in firefox the textarea of note modal has a overflow
textarea can be expanded outside borders modal in all browsers

closes odoo/odoo#27887
This commit is contained in:
Gert Pellin
2018-10-18 10:26:08 +00:00
parent 919a279c55
commit ccf9f560c6
2 changed files with 17 additions and 1 deletions
@@ -2147,6 +2147,22 @@ td {
font-family: 'Lato';
font-family: Lato;
}
.pos .modal-dialog .popup-textinput{
display: flex;
flex-direction: column;
}
.pos .modal-dialog .popup-textinput .title,
.pos .modal-dialog .popup-textinput .footer{
flex: none;
}
.pos .modal-dialog .popup-textinput textarea{
resize: none;
flex: auto;
margin: 0 20px 80px;
}
.pos .modal-dialog .popup-confirm{
height: 250px;
}
+1 -1
View File
@@ -1117,7 +1117,7 @@
<div role="dialog" class="modal-dialog">
<div class="popup popup-textinput">
<header class="title"><t t-esc=" widget.options.title || '' " /></header>
<textarea rows="10" cols="40"><t t-esc="widget.options.value" /></textarea>
<textarea><t t-esc="widget.options.value" /></textarea>
<footer class="footer">
<div class="button confirm">
Ok