diff --git a/app/css/app.css b/app/css/app.css index a3ca4b3..4e4d957 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -73,6 +73,20 @@ ul.chat { overflow: auto; } +div.fix-top-right { + position: relative; +} + +div.fix-top-right button { + position: absolute; + top: 0; + right: 0; + z-index: 1; + margin-right: 16px; + cursor: pointer; + display: block; +} + ul.chat span.text { white-space: pre; } diff --git a/app/js/controllers/hubs.js b/app/js/controllers/hubs.js index 80d703c..a920f91 100644 --- a/app/js/controllers/hubs.js +++ b/app/js/controllers/hubs.js @@ -17,15 +17,6 @@ EiskaltApp.controller('HubsCtrl', function ($scope, EiskaltRPC) { $scope.disconnect = function (huburl) { EiskaltRPC.HubDel(huburl).success(loadHubs); }; - - $scope.enlargedChat = false; - $scope.enlargeChat = function () { - $scope.enlargedChat = true; - }; - - $scope.enlargeUsers = function () { - $scope.enlargedChat = false; - }; }); EiskaltApp.controller('HubCtrl', function ($scope, $interval, $localStorage, settings, EiskaltRPC) { diff --git a/app/partials/hubs.html b/app/partials/hubs.html index 5e88614..49c103c 100644 --- a/app/partials/hubs.html +++ b/app/partials/hubs.html @@ -12,13 +12,13 @@