Small fix to the layout

- left menu would move along horizontally when forced to scroll left and right on lower resolution screens / smaller windows

- small script that keeps the left menu at the left edge of the page as opposed to the left edge of the window
pull/195/head
iglocska 2013-10-07 10:57:25 +02:00
parent d1983999f1
commit aa0bedd1eb
1 changed files with 5 additions and 0 deletions

View File

@ -70,5 +70,10 @@
echo $this->Html->script('main');
?>
</div>
<script type="text/javascript">
$(window).scroll(function(e) {
$('.actions').css('left',-$(window).scrollLeft());
});
</script>
</body>
</html>