mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 05:57:57 +01:00
Vertical scroll on file preview for small screens
This commit is contained in:
parent
726121d8c8
commit
56f6038c09
@ -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
|
||||
|
@ -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
|
||||
|
@ -80,6 +80,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
// File view
|
||||
.modal-fileview {
|
||||
top: 2%;
|
||||
max-height: 96%;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
// File thumbnails
|
||||
.thumbnail-file {
|
||||
cursor: pointer;
|
||||
|
Loading…
Reference in New Issue
Block a user