AIRAVATA-2173 Scroll sharing modal if too long
Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/cb001637 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/cb001637 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/cb001637 Branch: refs/heads/develop Commit: cb001637084ceaf2399261f2814bd4879b2d5521 Parents: f6db137 Author: Marcus Christie <machr...@iu.edu> Authored: Mon Oct 17 13:59:07 2016 -0400 Committer: Marcus Christie <machr...@iu.edu> Committed: Mon Oct 17 13:59:07 2016 -0400 ---------------------------------------------------------------------- public/css/sharing.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/cb001637/public/css/sharing.css ---------------------------------------------------------------------- diff --git a/public/css/sharing.css b/public/css/sharing.css index 4813fef..80f6b65 100755 --- a/public/css/sharing.css +++ b/public/css/sharing.css @@ -1,14 +1,20 @@ #share-box { position: fixed; top: 100%; + bottom: 0px; z-index: 1000; left: 25%; font-size: large; } +#share-box .modal-dialog { + /* .modal-dialog has top/bottom margin of 30px */ + height: calc(100% - 2 * 30px); +} + .modal-content { background-color: #ecf0f1; - max-height: 90%; + max-height: 100%; overflow: scroll; }