diff --git a/customize.dist/src/less2/include/buttons.less b/customize.dist/src/less2/include/buttons.less index ad6aaf9cc..8d906de62 100644 --- a/customize.dist/src/less2/include/buttons.less +++ b/customize.dist/src/less2/include/buttons.less @@ -10,7 +10,7 @@ @alertify-input-fg: @colortheme_modal-input-fg; input:not(.form-control), textarea { - background-color: @alertify-input-fg; + // background-color: @alertify-input-fg; color: @cryptpad_text_col; border: 1px solid @alertify-input-bg; width: 100%; @@ -23,6 +23,10 @@ } } + input:not(.form-control) { + height: @variables_input-height; + } + div.cp-alertify-type { display: flex; input { diff --git a/customize.dist/src/less2/include/sidebar-layout.less b/customize.dist/src/less2/include/sidebar-layout.less index 1f9c92457..59ea22c76 100644 --- a/customize.dist/src/less2/include/sidebar-layout.less +++ b/customize.dist/src/less2/include/sidebar-layout.less @@ -117,6 +117,7 @@ //border-radius: 0 0.25em 0.25em 0; //border: 1px solid #adadad; border-left: 0px; + height: @variables_input-height; } } &>div { diff --git a/customize.dist/src/less2/include/variables.less b/customize.dist/src/less2/include/variables.less index ba6c642e2..570779f05 100644 --- a/customize.dist/src/less2/include/variables.less +++ b/customize.dist/src/less2/include/variables.less @@ -3,6 +3,7 @@ // Elements size @variables_bar-height: 32px; +@variables_input-height: 38px; // Used in modal.less and alertify.less @variables_padding: 12px; diff --git a/www/settings/app-settings.less b/www/settings/app-settings.less index 30ff869a0..b6cd22fc1 100644 --- a/www/settings/app-settings.less +++ b/www/settings/app-settings.less @@ -138,6 +138,7 @@ padding: 5px; padding-left: 15px; &[type="number"] { + height: @variables_input-height + 2px; // to avoid cropped numbers border-right: 1px solid #adadad; } &[type="checkbox"] {