forked from Archives/Athou_commafeed
fullscren support (fix #310)
This commit is contained in:
@@ -1056,6 +1056,10 @@ function($scope, $stateParams, $http, $route, $window, EntryService, SettingsSer
|
||||
}
|
||||
});
|
||||
|
||||
Mousetrap.bind('f', function(e) {
|
||||
$('body').toggleClass('full-screen');
|
||||
});
|
||||
|
||||
Mousetrap.bind('?', function(e) {
|
||||
$scope.$apply(function() {
|
||||
$scope.shortcutsModal = true;
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
.full-screen .main-content {
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.entryList {
|
||||
padding-top: 50px;
|
||||
}
|
||||
@@ -124,6 +129,10 @@
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.full-screen #feed-accordion .entry-body-content {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#feed-accordion .entry-enclosure {
|
||||
clear: both;
|
||||
padding-top: 10px;
|
||||
|
||||
@@ -29,6 +29,10 @@
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.full-screen .left-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.css-treeview {
|
||||
margin-top: 15px;
|
||||
font-family: inherit;
|
||||
|
||||
Reference in New Issue
Block a user