From b76b00e66aa9bbbcf91976de9f74da174a29f970 Mon Sep 17 00:00:00 2001 From: Cosmin S Date: Fri, 30 Nov 2018 12:12:28 +0200 Subject: [PATCH] small UI fix --- css/frame.css | 2 +- js/frame.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/css/frame.css b/css/frame.css index 2b646aa1f..33d9749f1 100644 --- a/css/frame.css +++ b/css/frame.css @@ -6,7 +6,7 @@ right: 0; bottom: 60px; left: 0; - width: calc(100% - 300px); + width: auto; background-color: white; } diff --git a/js/frame.js b/js/frame.js index d9a5ddcfa..8fc4ea9bb 100644 --- a/js/frame.js +++ b/js/frame.js @@ -246,6 +246,7 @@ }); $( '#db-chart-button' ).on( 'click', function(){ + $('#content').css('width', 'calc(100% - 300px)'); if( $(this).attr( 'data-current' ) === 'chart'){ $(this).val( $(this).attr( 'data-t-filter' ) ); $(this).html( $(this).attr( 'data-t-filter' ) );