added scroll to org list modal (#10960)

* added scroll to org list modal, fixes #10774

* removed console.log
This commit is contained in:
Patrick O'Carroll 2018-02-20 11:08:53 +01:00 committed by Torkel Ödegaard
parent 1293fcadd2
commit 9f4b7ac26f
2 changed files with 6 additions and 2 deletions

View File

@ -15,8 +15,7 @@ const template = `
</a> </a>
</div> </div>
<div class="modal-content"> <div class="modal-content modal-content--has-scroll" grafana-scrollbar>
<div class="gf-form-group">
<table class="filter-table form-inline"> <table class="filter-table form-inline">
<thead> <thead>
<tr> <tr>

View File

@ -67,6 +67,11 @@
.modal-content { .modal-content {
padding: $spacer*2; padding: $spacer*2;
&--has-scroll {
max-height: calc(100vh - 400px);
position: relative;
}
} }
// Remove bottom margin if need be // Remove bottom margin if need be