Skip to content

Commit

Permalink
Revert "#163589070 Fixes responsiveness"
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrismarcel authored Jan 30, 2019
1 parent 9466a78 commit 048fda1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 24 deletions.
28 changes: 6 additions & 22 deletions UI/assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -930,10 +930,8 @@ tr > td:last-child {
}

.hero {
padding: 65px 25px;
height: calc(100vh - 73px);
display: flex;
justify-content: space-evenly;
padding: 40px 25px;
height: auto;
}

.hero-title {
Expand All @@ -947,7 +945,7 @@ tr > td:last-child {
}

.hero-cta {
width: 55%;
width: 45%;
}

.hero-cta > a:first-child {
Expand Down Expand Up @@ -979,14 +977,10 @@ tr > td:last-child {
padding: 20px;
}

.features {
.featured {
margin-top: -40px;
clip-path: polygon(0 8%, 100% 0, 100% 100%, 0% 100%);
padding-top: 60px;
}

.features.section-dark {
padding-top: 115px;
padding-top: 150px;
}

.report-card:last-child {
Expand All @@ -998,16 +992,6 @@ tr > td:last-child {
padding: 50px 25px;
}

.divider {
display: block;
margin: 0 auto;
margin-bottom: 15px;
}

.form-group input, #attachment, .form-group button {
width: 100%
}

.profile-card {
width: 100%;
}
Expand All @@ -1030,7 +1014,7 @@ tr > td:last-child {
height: 90px;
}

.cards-list > .report-card {
.user-reports > .cards-list > .report-card {
margin-right: 0;
}

Expand Down
4 changes: 2 additions & 2 deletions UI/assets/js/viewReport.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ function getSingleReport(endpoint, id) {
.then((reportObj) => {
reportToggle.firstChild.nextSibling.remove();
reportToggle.firstChild.remove();
const commentNode = document.querySelector('.modal-comment');
emptyNode(commentNode);
renderReportDetails(reportObj.data);
});
}
Expand All @@ -105,8 +107,6 @@ document.body.addEventListener('click', (evt) => {

document.querySelector('.report-modal .modal-close')
.addEventListener('click', (evt) => {
const commentNode = document.querySelector('.modal-comment');
emptyNode(commentNode);
const mediaNode = document.querySelector('.modal-images');
mediaNode.innerHTML = '';
toggleReportModal(evt);
Expand Down

0 comments on commit 048fda1

Please sign in to comment.