mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 13:36:02 -03:30
Align the top of the modal to a fixed distance from the top of the
browser
This commit is contained in:
@@ -67,8 +67,8 @@ function HostEventService (
|
|||||||
obj.status = 'failed';
|
obj.status = 'failed';
|
||||||
}
|
}
|
||||||
if (event.event === 'runner_on_ok' || event.event === 'runner_on_async_ok') {
|
if (event.event === 'runner_on_ok' || event.event === 'runner_on_async_ok') {
|
||||||
obj.class = 'HostEvent-status--ok';
|
obj.class = 'HostEvent-status--ok';
|
||||||
obj.status = 'ok';
|
obj.status = 'ok';
|
||||||
}
|
}
|
||||||
// if both 'changed' and 'ok' are true, show 'changed' status
|
// if both 'changed' and 'ok' are true, show 'changed' status
|
||||||
if (event.changed) {
|
if (event.changed) {
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ const entities = new Entities.AllHtmlEntities();
|
|||||||
|
|
||||||
const Modal = styled(PFModal)`
|
const Modal = styled(PFModal)`
|
||||||
--pf-c-modal-box__footer--MarginTop: 0;
|
--pf-c-modal-box__footer--MarginTop: 0;
|
||||||
|
align-self: flex-start;
|
||||||
|
margin-top: 200px;
|
||||||
.pf-c-modal-box__body {
|
.pf-c-modal-box__body {
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user