diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 02cdd6ce..cc5542ee 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -657,7 +657,8 @@ img.openwebrx-mirror-img #openwebrx-panel-receiver { - width:110px; + width:110px; + border: 2px solid transparent; } diff --git a/htdocs/lib/UI.js b/htdocs/lib/UI.js index 82a943fe..c01cac10 100644 --- a/htdocs/lib/UI.js +++ b/htdocs/lib/UI.js @@ -166,8 +166,8 @@ UI.toggleFrame = function(on) { this.frame = on; LS.save('ui_frame', on); $('#openwebrx-frame-checkbox').attr('checked', on); - $('#openwebrx-panel-receiver').css('border', on? '2px solid':''); - $('#openwebrx-dialog-bookmark').css('border', on? '2px solid':''); + $('#openwebrx-panel-receiver').css( 'border', on ? '2px solid white' : '2px solid transparent'); + $('#openwebrx-dialog-bookmark').css('border', on ? '2px solid white' : '2px solid transparent'); } };