diff --git a/css/index.css b/css/index.css index 4a7bbff9bb02832bdffd21a079d663de41135e40..0e074a30674ebb2dbe34817e4afd25259a7e5806 100644 --- a/css/index.css +++ b/css/index.css @@ -56,6 +56,12 @@ width: auto; cursor: pointer; font-weight: normal; } + .coopedia-kldb-search-box input[type="checkbox"], .coopedia-kldb-search-box input[type="radio"] { + box-sizing: border-box; + padding: 0; + appearance: auto; + -moz-appearance: auto; + -webkit-appearance: auto; } .coopedia-kldb-search-box .flex-espace { justify-content: space-between; } .coopedia-kldb-search-box .title_lead { diff --git a/js/connector-script.js b/js/connector-script.js index 4ff1bdb9674c265a5d4c1b8ff33a275fb91a1237..67b1b170581969ce993862457d0b886fd3b73d93 100644 --- a/js/connector-script.js +++ b/js/connector-script.js @@ -92,7 +92,7 @@ function selectHiddenManagementForType(tab, form) { //Fullfill hidden field let hidden_type_select = form.querySelector('select[name="type"]'); - hidden_options = hidden_type_select.getElementsByTagName("option"); + let hidden_options = hidden_type_select.getElementsByTagName("option"); for (let hidden_option of hidden_options) { hidden_option.removeAttribute("selected"); if (hidden_option.value == '{"@id": "' + type_field_search + '"}') { diff --git a/scss/src/main.scss b/scss/src/main.scss index 3d7c19a9d43deb25489ee4c532591968c1215c77..f2c897f8ce29bff1d69b757cc0b739b65be6a210 100644 --- a/scss/src/main.scss +++ b/scss/src/main.scss @@ -67,6 +67,14 @@ font-weight: normal; } + input[type="checkbox"], input[type="radio"] { + box-sizing: border-box; + padding: 0; + appearance: auto; + -moz-appearance: auto; + -webkit-appearance: auto; + } + .flex-espace{ justify-content: space-between; }