From e8c710f00b7d6c6d14ad4626062230bf366bc6bf Mon Sep 17 00:00:00 2001 From: Taka Date: Mon, 6 May 2019 11:07:19 +0000 Subject: [PATCH] Fixed the focus rectangle around the player droplists. --- vasl_templates/webapp/static/css/tabs-scenario.css | 7 ++++--- vasl_templates/webapp/static/main.js | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/vasl_templates/webapp/static/css/tabs-scenario.css b/vasl_templates/webapp/static/css/tabs-scenario.css index 0202a20..bab3952 100644 --- a/vasl_templates/webapp/static/css/tabs-scenario.css +++ b/vasl_templates/webapp/static/css/tabs-scenario.css @@ -17,11 +17,12 @@ #panel-scenario input { margin-bottom: 0.25em ; } #panel-scenario .select2-container { margin: 2px ; } -#panel-scenario .select2-selection__rendered { height: 24px ; margin-top: -3px ; } -#panel-scenario .select2-selection__arrow { margin-top: -3px ; } +#panel-scenario .select2-selection__rendered { height: 23px ; line-height: 23px ; } +#panel-scenario .select2-selection__arrow { margin-top: -2px ; } #panel-scenario .select2-selection { height: 24px !important ; border-radius: 0 !important ; } -#panel-scenario .select2-container[name="SCENARIO_THEATER"] .select2-selection { height: 22px !important ; margin-top: -4px ;} +#panel-scenario .select2-container[name="SCENARIO_THEATER"] .select2-selection { height: 22px !important ; margin-top: -4px ; } +#panel-scenario .select2-container[name="SCENARIO_THEATER"] .select2-selection__rendered { height: 20px ; line-height: 20px ; } #panel-scenario .select2-container[name="SCENARIO_THEATER"] .select2-selection__arrow { margin-top: -6px ; } /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ diff --git a/vasl_templates/webapp/static/main.js b/vasl_templates/webapp/static/main.js index f22d882..14556d1 100644 --- a/vasl_templates/webapp/static/main.js +++ b/vasl_templates/webapp/static/main.js @@ -188,9 +188,9 @@ $(document).ready( function () { if ( ! opt.id ) return opt.text ; var url = make_player_flag_url( opt.id, false ) ; - return $( "
" + + return $( "
" + "
" + - "" + + "" + "
" + " " + opt.text + "
" ) ;