Mobile compat

This commit is contained in:
oitsjustjose 2021-05-11 01:57:08 -05:00
commit 0f479d3c54
2 changed files with 9 additions and 0 deletions

View file

@ -75,6 +75,10 @@ body.dark .modal-header {
border-bottom: 1px solid #202020 !important;
}
body.dark .btn-close {
filter: invert(1);
}
@keyframes Rotate {
0% {
filter: hue-rotate(0deg);

View file

@ -148,6 +148,7 @@ const bootstrapJobModal = () => {
modalHeader.className = 'modal-header';
modalHeader.innerHTML = `
<h2 class='modal-title'>I'm Looking for a Job!</h2>
<button type='button' class='btn-close' id='hireMeModalClose'></button>
`;
const modalBody = document.createElement('div');
@ -185,6 +186,10 @@ const bootstrapJobModal = () => {
const modalObj = new bootstrap.Modal(modal);
modalObj.show();
document.getElementById('hireMeModalClose').addEventListener('click', () => {
modalObj.hide();
});
};
window.addEventListener('load', () => {