added scroll to org list modal (#10960)
* added scroll to org list modal, fixes #10774 * removed console.log
This commit is contained in:
committed by
Torkel Ödegaard
parent
1293fcadd2
commit
9f4b7ac26f
@@ -15,8 +15,7 @@ const template = `
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="modal-content">
|
||||
<div class="gf-form-group">
|
||||
<div class="modal-content modal-content--has-scroll" grafana-scrollbar>
|
||||
<table class="filter-table form-inline">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -67,6 +67,11 @@
|
||||
|
||||
.modal-content {
|
||||
padding: $spacer*2;
|
||||
|
||||
&--has-scroll {
|
||||
max-height: calc(100vh - 400px);
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
// Remove bottom margin if need be
|
||||
|
||||
Reference in New Issue
Block a user