From 3f5c1f96f95af07f4b769c0e2c1872a1557075a6 Mon Sep 17 00:00:00 2001 From: PenghaiZhang <47203811+PenghaiZhang@users.noreply.github.com> Date: Tue, 30 Jun 2020 12:49:19 +1000 Subject: [PATCH] Merge pull request #1964 from PenghaiZhang/feature/ebp-improvements --- .../resources/web/sass/legacy.scss | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/Source/Plugins/Core/com.equella.core/resources/web/sass/legacy.scss b/Source/Plugins/Core/com.equella.core/resources/web/sass/legacy.scss index 04db39303f..8a898a1a0e 100644 --- a/Source/Plugins/Core/com.equella.core/resources/web/sass/legacy.scss +++ b/Source/Plugins/Core/com.equella.core/resources/web/sass/legacy.scss @@ -1922,23 +1922,19 @@ div.skinnysearch { overflow: hidden; } -@media only screen and (max-width: 1200px) { - .autocompleteControl .autocomplete-container { - float: left; - width: 85%; - } +.autocompleteControl .autocomplete-container { + float: left; + // 120px for width of the select button and padding with default text 'select'. + width: calc(100% - 120px); } -@media only screen and (min-width: 1201px) { - .autocompleteControl .autocomplete-container { - float: left; - width: 96%; - } +.autocompleteControl .btn { + float: right; } #wizard-controls .autocompleteControl input[type="text"] { height: 34px; - width: 98%; + width: 100%; } .ac_odd {