diff --git a/src/js/popups/word-filter-popup.js b/src/js/popups/word-filter-popup.js index 88b2c58a9..47024d696 100644 --- a/src/js/popups/word-filter-popup.js +++ b/src/js/popups/word-filter-popup.js @@ -12,7 +12,9 @@ export async function showWordFilterPopup() { `); }); - $("#languageList").select2(); + $("#languageList").select2({ + width: "100%", + }); } function hideWordFilterPopup() { diff --git a/src/sass/style.scss b/src/sass/style.scss index 1a5f61541..ed63fd971 100644 --- a/src/sass/style.scss +++ b/src/sass/style.scss @@ -636,23 +636,28 @@ a:hover { gap: 1rem; width: 400px; + input { + width: 100%; + } + + .group { + display: grid; + gap: 0.5rem; + } + .lengthgrid { display: grid; grid-template-columns: 1fr 1fr; - grid-template-rows: 1fr 1fr; - gap: 0.2rem; + grid-template-rows: auto 1fr; + column-gap: 1rem; } - .wordLength { - width: 10rem; - } - - .wftip { + .tip { color: var(--sub-color); font-size: 0.8rem; } - .wfload { + .loadingIndicator { justify-self: center; } } diff --git a/static/index.html b/static/index.html index dc8caacdd..a061ff563 100644 --- a/static/index.html +++ b/static/index.html @@ -146,11 +146,13 @@