Changed default media field from 150x100 -> 200x150

This commit is contained in:
Andy Miller
2017-03-10 12:42:14 -07:00
parent a583a8abee
commit 11850a148f
5 changed files with 7 additions and 5 deletions

View File

@@ -15,6 +15,8 @@
* Force admin pages to set `Page::expires(0)` so it's not cached [#1009](https://github.com/getgrav/grav-plugin-admin/issues/1009)
* Added support for up to 15 tabs (was 10) [#954](https://github.com/getgrav/grav-plugin-admin/issues/954)
* Only reorder pages in the admin if collection uses `@self` and `order.by`
* Improved configuration tab sizes when you have lots of tabs
* Modified default media select size from 150px x 100px to 200px x 150px
1. [](#bugfix)
* Fixed rendering issue with Chrome and sortables collections [#1002](https://github.com/getgrav/grav-plugin-admin/issues/1002)

View File

@@ -1512,7 +1512,7 @@ class AdminController extends AdminBaseController
$media = new Media($page->path());
foreach ($media->all() as $name => $medium) {
$media_list[$name] = ['url' => $medium->cropZoom(150, 100)->url(), 'size' => $medium->get('size')];
$media_list[$name] = ['url' => $medium->cropZoom(200, 150)->url(), 'size' => $medium->get('size')];
}
$this->admin->json_response = ['status' => 'success', 'results' => $media_list];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
/* The MIT License */
$preview-width: 150px;
$preview-height: 100px;
$preview-width: 200px;
$preview-height: 150px;
.dropzone {
position: relative;