1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Fix for thumbnail size in admin-ui Grid.

This commit is contained in:
Cameron
2017-10-12 14:42:36 -07:00
parent 04f1f0130e
commit 519ee2f526
3 changed files with 6 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ class theme_admin_ui extends e_admin_ui
// protected \$sortField = 'somefield_order';
// protected \$sortParent = 'somefield_parent';
// protected \$treePrefix = 'somefield_title';
protected $grid = array('price'=>'price', 'version'=>'version','title'=>'name', 'image'=>'thumbnail', 'body'=>'', 'class'=>'col-md-2', 'perPage'=>12, 'carousel'=>true, 'toggleButton'=>false);
protected $grid = array('price'=>'price', 'version'=>'version','title'=>'name', 'image'=>'thumbnail', 'body'=>'', 'class'=>'col-md-2 col-sm-3', 'perPage'=>12, 'carousel'=>true, 'toggleButton'=>false);
protected $fields = array(

View File

@@ -75,7 +75,10 @@ a.core-mainpanel-link-icon:hover { text-decoration: none; filter: none; }
.e-overlay .thumbnail { margin:0; }
.admin-ui-grid img.fallback { opacity: 0.3; }
.admin-ui-grid img.thumbnail { max-width: 100% }
.admin-ui-grid img.thumbnail { max-width: 100%; height:auto; }
.admin-ui-grid .panel-footer { font-size:1em; /*height:30px; overflow:hidden*/}
/*
#admin-ui-carousel .carousel-inner { min-height: 65vh; }

View File

@@ -14497,7 +14497,7 @@ margin-bottom: 15px;
}
/* Large devices (large desktops, 1200px and up).col-lg */
@media all and (min-width: 1200px) {
@media all and (min-width: 1800px) {
.col-lg-2 { width: 12% }
.col-lg-10 { width: 88% }