mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_widget_numeric_step: list view column min width
Default width is too narrow for these fields in list views, which makes it uncomfortable to use in desktops. @moduon MT-4472
This commit is contained in:
committed by
Carlos Roca
parent
57ce599883
commit
7f0723bd05
@@ -366,7 +366,7 @@ ul.auto-toc {
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:08fa3eb42c224d0c7036626e3c67cd9426810dfc3dd22de787374d7adc9fe2d6
|
||||
!! source digest: sha256:aa00ea1d2e4245170c8f2a6e774bffe29af982ceddd43292a7871cf6f194fc25
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/16.0/web_widget_numeric_step"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_widget_numeric_step"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This widget changes input number field and make it easier to increment the number thanks to 2 buttons (+ and -).
|
||||
|
||||
@@ -12,3 +12,11 @@
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
.o_numeric_step_cell {
|
||||
// Default for old browsers
|
||||
min-width: 15 * $btn-padding-x;
|
||||
// Value hardcoded in `FIXED_FIELD_COLUMN_WIDTHS.float` + width of 2
|
||||
// FontAwesome icons + 2 buttons * 2 horizontal paddings
|
||||
min-width: calc(92px + 2ex + 4 * #{$btn-padding-x});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user