mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
Dashboard: Fixes back button styles in kiosk mode (#19165)
Fixes: #18114
This commit is contained in:
parent
dd794625dd
commit
38e948a1ad
@ -193,6 +193,7 @@ $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
|
||||
|
||||
// sidemenu
|
||||
$side-menu-width: 60px;
|
||||
$navbar-padding: 20px;
|
||||
|
||||
// dashboard
|
||||
$dashboard-padding: $space-md;
|
||||
|
@ -196,6 +196,7 @@ $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
|
||||
|
||||
// sidemenu
|
||||
$side-menu-width: 60px;
|
||||
$navbar-padding: 20px;
|
||||
|
||||
// dashboard
|
||||
$dashboard-padding: $space-md;
|
||||
|
@ -46,7 +46,7 @@
|
||||
|
||||
.panel-in-fullscreen {
|
||||
.navbar {
|
||||
padding-left: 20px;
|
||||
padding-left: $navbar-padding;
|
||||
}
|
||||
|
||||
.navbar-button--add-panel,
|
||||
|
@ -14,6 +14,10 @@
|
||||
i {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
i.navbar-page-btn__folder-icon {
|
||||
opacity: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-button--zoom {
|
||||
@ -25,6 +29,17 @@
|
||||
@extend .view-mode--inactive;
|
||||
}
|
||||
|
||||
// https://github.com/grafana/grafana/issues/18114
|
||||
.view-mode--tv.panel-in-fullscreen {
|
||||
.navbar {
|
||||
padding-left: $navbar-padding;
|
||||
}
|
||||
|
||||
.navbar-page-btn {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
.view-mode--tv {
|
||||
@extend .view-mode--inactive;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user