Commit d08a829b by Torkel Ödegaard

ux: fix for responsive breakpoints and solo mode showing sidemenu

parent b55ce1dd
import angular from 'angular'; import angular from 'angular';
import appEvents from 'app/core/app_events';
export class SoloPanelCtrl { export class SoloPanelCtrl {
/** @ngInject */ /** @ngInject */
...@@ -7,6 +8,7 @@ export class SoloPanelCtrl { ...@@ -7,6 +8,7 @@ export class SoloPanelCtrl {
$scope.init = function() { $scope.init = function() {
contextSrv.sidemenu = false; contextSrv.sidemenu = false;
appEvents.emit('toggle-sidemenu');
var params = $location.search(); var params = $location.search();
panelId = parseInt(params.panelId); panelId = parseInt(params.panelId);
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
// --------------------- // ---------------------
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
input[type="text"], input[type='text'],
input[type="number"], input[type='number'],
textarea { textarea {
font-size: 16px; font-size: 16px;
} }
...@@ -51,9 +51,15 @@ ...@@ -51,9 +51,15 @@
display: flex; display: flex;
} }
.navbar-page-btn { .navbar-page-btn {
max-width: none; max-width: 450px;
} }
.gf-timepicker-nav-btn { .gf-timepicker-nav-btn {
max-width: none; max-width: none;
} }
} }
@include media-breakpoint-up(xl) {
.navbar-page-btn {
max-width: 600px;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment