mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux: When adding a new panel we should scroll to top until we figure o… (#10417)
* ux: When adding a new panel we should scroll to top until we figure out a better solution #10299 * ux: Use jquery to add smooth scrolling when scrolling up to add a panel, and make sure to pass the scope to the event emitter, #10299 * ux: Add a close button to the "New panel"-box and make sure you scroll to top every time you click "Add panel" #10299
This commit is contained in:
committed by
Torkel Ödegaard
parent
3ea63a1064
commit
aac1b250af
@@ -7,12 +7,20 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
i {
|
||||
.gicon {
|
||||
font-size: 30px;
|
||||
margin-right: $spacer;
|
||||
}
|
||||
}
|
||||
|
||||
.add-panel__close {
|
||||
margin-left: auto;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
font-size: 16px;
|
||||
margin-right: -10px;
|
||||
}
|
||||
|
||||
.add-panel__title {
|
||||
font-size: $font-size-md;
|
||||
margin-right: $spacer/2;
|
||||
|
||||
Reference in New Issue
Block a user