Request box css fixes

This commit is contained in:
Kenneth Jao 2016-09-10 00:44:06 -04:00
parent a9ef959369
commit e68fb2552f
2 changed files with 4 additions and 4 deletions

View File

@ -1141,7 +1141,7 @@ input, textarea {
#requests { #requests {
width: 25vw; width: 25vw;
height: 11vw; height: 11vw;
margin-bottom: -15.3vw; margin-bottom: -15.5vw;
padding: 2vw; padding: 2vw;
border-top: 5px solid #852E6D; border-top: 5px solid #852E6D;
@ -1177,7 +1177,7 @@ input, textarea {
.fa-question { .fa-question {
font-size: 5vh; font-size: 5vh;
width: 4vw; width: 4vw;
padding: 10%; padding: 5% 10% 10% 10%;
text-align: center; text-align: center;
-webkit-transition: background-color 0.4s ease; -webkit-transition: background-color 0.4s ease;

View File

@ -466,7 +466,7 @@ Template.main.events({
} }
if(!document.getElementById("userDropdown").contains(event.target)) closeDivFade(document.getElementById("userDropdown")); if(!document.getElementById("userDropdown").contains(event.target)) closeDivFade(document.getElementById("userDropdown"));
if(!document.getElementById("requests").contains(event.target)) document.getElementById("requests").style.marginBottom = "-15.3vw"; if(!document.getElementById("requests").contains(event.target)) document.getElementById("requests").style.marginBottom = "-15.5vw";
}, },
// MAIN MENU BUTTONS // MAIN MENU BUTTONS
'click .fa-bars' () { // Click menu button. 'click .fa-bars' () { // Click menu button.
@ -584,7 +584,7 @@ Template.main.events({
Meteor.call("createRequest", array, function(err,result) { Meteor.call("createRequest", array, function(err,result) {
area.value = "Request sent!"; area.value = "Request sent!";
setTimeout(function(){ setTimeout(function(){
document.getElementById("requests").style.marginBottom = "-15.3vw"; document.getElementById("requests").style.marginBottom = "-15.5vw";
area.value = ""; area.value = "";
Session.set("commentRestrict",null); Session.set("commentRestrict",null);
},750); },750);