mirror of
https://github.com/moparisthebest/mail
synced 2025-01-31 07:00:17 -05:00
[WO-336] Fix floating fingerprint popup in contacts view
This commit is contained in:
parent
23be9c823d
commit
ba22ee4674
@ -15,9 +15,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.key-list {
|
.key-list {
|
||||||
max-height: 400px;
|
position: relative;
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
|
|
||||||
|
.key-list-scroll {
|
||||||
|
max-height: 400px;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
th, td {
|
th, td {
|
||||||
@ -37,6 +41,11 @@
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// pull popover upwards to keep popup inside lightbox
|
||||||
|
.popover {
|
||||||
|
margin-top: -20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -8,7 +8,8 @@
|
|||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@include respond-to(desktop) {
|
@include respond-to(desktop) {
|
||||||
height: 600px;
|
// this number depends on max-height set on .lightbox
|
||||||
|
height: 590px; // magic number
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="key-list">
|
<div class="key-list">
|
||||||
|
<div class="key-list-scroll">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Key ID</th>
|
<th>Key ID</th>
|
||||||
@ -31,15 +32,18 @@
|
|||||||
<td><button class="remove" ng-click="removeKey(key)"></button></td>
|
<td><button class="remove" ng-click="removeKey(key)"></button></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div><!--/.key-list-scroll-->
|
||||||
|
|
||||||
</div><!-- /.view-contacts -->
|
|
||||||
</div><!-- /.content -->
|
|
||||||
|
|
||||||
<!-- popovers -->
|
<!-- popovers -->
|
||||||
<div id="fingerprint-contact" class="popover right" ng-controller="PopoverCtrl">
|
<div id="fingerprint-contact" class="popover right" ng-controller="PopoverCtrl">
|
||||||
<div class="popover-title"><b>Fingerprint</b></div>
|
<div class="popover-title"><b>Fingerprint</b></div>
|
||||||
<div class="popover-content">{{fingerprint}}</div>
|
<div class="popover-content">{{fingerprint}}</div>
|
||||||
</div><!--/.popover-->
|
</div><!--/.popover-->
|
||||||
|
</div><!--/.key-list-->
|
||||||
|
|
||||||
|
</div><!-- /.view-contacts -->
|
||||||
|
</div><!-- /.content -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div><!-- /.lightbox-body -->
|
</div><!-- /.lightbox-body -->
|
Loading…
Reference in New Issue
Block a user