Index: lams_monitoring/web/tblmonitor/sequence.jsp =================================================================== diff -u -r277009f73bc3d4739502cfe242025758af3fc8fa -r1735db3bc379243419f26492ca5a77aad21289d5 --- lams_monitoring/web/tblmonitor/sequence.jsp (.../sequence.jsp) (revision 277009f73bc3d4739502cfe242025758af3fc8fa) +++ lams_monitoring/web/tblmonitor/sequence.jsp (.../sequence.jsp) (revision 1735db3bc379243419f26492ca5a77aad21289d5) @@ -205,11 +205,15 @@ if ( svg ) { var svgWidth = svg.attr('width'), svgHeight = svg.attr('height'); + if ( svgWidth > 280 ) { svg.attr('width', '100%'); svg.attr('height', '100%'); svg.css('max-width', svgWidth); svg.css('max-height', svgHeight); + + // keep max-width and max-height between automatic refresh + originalSequenceCanvas = svg[0].outerHTML; } $('#sequenceCanvas').css('width', 'auto').css('height', 'auto'); }