mirror of https://github.com/MISP/MISP
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 windowpull/195/head
parent
d1983999f1
commit
aa0bedd1eb
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue