Vertical scroll on file preview for small screens

This commit is contained in:
jendib 2013-09-07 00:27:13 +02:00
parent 726121d8c8
commit 56f6038c09
3 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,7 @@
App.controller('FileView', function($dialog, $state, $stateParams) {
var dialog = $dialog.dialog({
keyboard: true,
dialogClass: 'modal modal-fileview',
templateUrl: 'partial/docs/file.view.html',
controller: function($scope, $state, $stateParams, Restangular, dialog) {
// Load files

View File

@ -6,6 +6,7 @@
App.controller('FileView', function($dialog, $state, $stateParams) {
var dialog = $dialog.dialog({
keyboard: true,
dialogClass: 'modal modal-fileview',
templateUrl: 'partial/share/file.view.html',
controller: function($scope, $state, $stateParams, Restangular, dialog) {
// Load files

View File

@ -80,6 +80,13 @@
}
}
// File view
.modal-fileview {
top: 2%;
max-height: 96%;
overflow-y: scroll;
}
// File thumbnails
.thumbnail-file {
cursor: pointer;