Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
d08a829b
Commit
d08a829b
authored
Feb 01, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: fix for responsive breakpoints and solo mode showing sidemenu
parent
b55ce1dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
public/app/features/panel/solo_panel_ctrl.ts
+2
-0
public/sass/_old_responsive.scss
+9
-3
No files found.
public/app/features/panel/solo_panel_ctrl.ts
View file @
d08a829b
import
angular
from
'angular'
;
import
appEvents
from
'app/core/app_events'
;
export
class
SoloPanelCtrl
{
/** @ngInject */
...
...
@@ -7,6 +8,7 @@ export class SoloPanelCtrl {
$scope
.
init
=
function
()
{
contextSrv
.
sidemenu
=
false
;
appEvents
.
emit
(
'toggle-sidemenu'
);
var
params
=
$location
.
search
();
panelId
=
parseInt
(
params
.
panelId
);
...
...
public/sass/_old_responsive.scss
View file @
d08a829b
...
...
@@ -18,8 +18,8 @@
// ---------------------
@include
media-breakpoint-down
(
xs
)
{
input
[
type
=
"text"
],
input
[
type
=
"number"
],
input
[
type
=
'text'
],
input
[
type
=
'number'
],
textarea
{
font-size
:
16px
;
}
...
...
@@ -51,9 +51,15 @@
display
:
flex
;
}
.navbar-page-btn
{
max-width
:
none
;
max-width
:
450px
;
}
.gf-timepicker-nav-btn
{
max-width
:
none
;
}
}
@include
media-breakpoint-up
(
xl
)
{
.navbar-page-btn
{
max-width
:
600px
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment