diff --git a/core/static/core/js/emlo-io.js b/core/static/core/js/emlo-io.js index 70b14b2d..2eac8cd7 100644 --- a/core/static/core/js/emlo-io.js +++ b/core/static/core/js/emlo-io.js @@ -10,7 +10,7 @@ function setup_url_checker() { jqe_container = jqe_input.parent() // button - let jqe_btn = $(''); + let jqe_btn = $(''); jqe_btn.on('click', (jqe_btn_e) => { jqe_btn_e.preventDefault() let url = $(jqe_btn_e.target).parent().find('input').val(); diff --git a/core/static/core/scss/emlo-common.scss b/core/static/core/scss/emlo-common.scss index 10a128ba..d4f7b95e 100644 --- a/core/static/core/scss/emlo-common.scss +++ b/core/static/core/scss/emlo-common.scss @@ -1,16 +1,20 @@ .url_checker_div { display: flex; + align-items: stretch; input { flex: 1; - min-width: 0; + margin-bottom: 0; } - .btn { - white-space: nowrap; + button { + height: auto; + display: flex; + align-items: center; + justify-content: center; + margin: 0; margin-left: 10px; - flex-shrink: 0; } }