* added scroll to org list modal, fixes #10774 * removed console.log
@@ -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