Add overflow to menu

issue4219
review12591002
This commit is contained in:
Cédric Krier committed 2014-10-10 10:09:06 +02:00
1 parent 534c176683
commit b228f266ba
2 files changed
+6 -5

No files matched your search

+5 -5
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<HTML style="overflow-y: scroll;">
<HTML style="overflow: hidden;">
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<TITLE>Tryton</TITLE>
@@ -32,13 +32,13 @@ this repository contains the full copyright notices and license terms. -->
</SCRIPT>
</HEAD>
<BODY>
<DIV style="overflow: auto;">
<DIV style="overflow: auto; height: 1.5em;">
<SPAN id="user-preferences" style="float: left;"></SPAN>
<SPAN id="user-logout" style="float: right;"></SPAN>
</DIV>
<DIV id="main" style="width: 100%">
<DIV id="menu" style="display: inline-block; overflow: hidden; width: 20%"></DIV>
<DIV id="tabs" style="display: inline-block;"></DIV>
<DIV id="main" style="width: 100%; height: calc(100vh - 1.5em - 1px);">
<DIV id="menu" style="display: inline-block; width: 20%; overflow-y: auto; height: 100%;"></DIV>
<DIV id="tabs" style="display: inline-block; overflow-y: auto; height: 100%;"></DIV>
</DIV>
<SCRIPT type="text/javascript">
jQuery(function() {
+1
View File
@@ -2195,6 +2195,7 @@
parent = jQuery(parent);
}
jQuery(element).dialog('option', 'width', parent.width() * 0.8);
jQuery(element).dialog('option', 'height', parent.height());
jQuery(element).dialog('option', 'position',{
my: 'center top',
at: 'center top',