Align the top of the modal to a fixed distance from the top of the

browser
This commit is contained in:
Marliana Lara 2019-09-11 11:03:00 -04:00
parent e53c979344
commit ad2e58cd43
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE
2 changed files with 4 additions and 2 deletions

View File

@ -67,8 +67,8 @@ function HostEventService (
obj.status = 'failed';
}
if (event.event === 'runner_on_ok' || event.event === 'runner_on_async_ok') {
obj.class = 'HostEvent-status--ok';
obj.status = 'ok';
obj.class = 'HostEvent-status--ok';
obj.status = 'ok';
}
// if both 'changed' and 'ok' are true, show 'changed' status
if (event.changed) {

View File

@ -19,6 +19,8 @@ const entities = new Entities.AllHtmlEntities();
const Modal = styled(PFModal)`
--pf-c-modal-box__footer--MarginTop: 0;
align-self: flex-start;
margin-top: 200px;
.pf-c-modal-box__body {
overflow-y: hidden;
}