mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Admin dashboard portlet width. 1280px over and under.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9551 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
78613c0ce1
commit
7206aff619
2 changed files with 13 additions and 1 deletions
|
|
@ -87,7 +87,16 @@ jQuery(function($){
|
|||
});
|
||||
|
||||
// Display the dashboard in two column
|
||||
$('.dashboard>.section>.portlet:odd').after('<br style="clear:both" />');
|
||||
$(window).resize(function(){
|
||||
if($(document).width() < 1280){
|
||||
$('.dashboard>.section>br').remove();
|
||||
$('.dashboard>.section>.portlet:odd').after('<br style="clear:both" />');
|
||||
} else {
|
||||
$('.dashboard>.section>br').remove();
|
||||
$('.dashboard>.section>.portlet:eq(2),.dashboard>.section>.portlet:eq(5)').after('<br style="clear:both" />');
|
||||
}
|
||||
});
|
||||
$(window).resize();
|
||||
|
||||
|
||||
// Popup list : 'Move to site' and 'Site map'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue