diff --git a/core/static/core/js/emlo-io.js b/core/static/core/js/emlo-io.js index 61b43ac9..d6c6f668 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 = $(''); jqe_btn.on('click', (jqe_btn_e) => { jqe_btn_e.preventDefault() window.open($(jqe_btn_e.target).parent().find('input').val(), '_blank') diff --git a/core/static/core/scss/emlo-common.scss b/core/static/core/scss/emlo-common.scss index ecd72607..bfc6e43e 100644 --- a/core/static/core/scss/emlo-common.scss +++ b/core/static/core/scss/emlo-common.scss @@ -1,11 +1,21 @@ .url_checker_div { display: flex; + align-items: stretch; - button { - background-color: black; + input { + flex: 1; + margin-bottom: 0; } + button { + height: auto; + display: flex; + align-items: center; + justify-content: center; + margin: 0; + margin-left: 10px; + } } .standtext_btn {