Request box css fixes
This commit is contained in:
parent
a9ef959369
commit
e68fb2552f
@ -1141,7 +1141,7 @@ input, textarea {
|
||||
#requests {
|
||||
width: 25vw;
|
||||
height: 11vw;
|
||||
margin-bottom: -15.3vw;
|
||||
margin-bottom: -15.5vw;
|
||||
padding: 2vw;
|
||||
|
||||
border-top: 5px solid #852E6D;
|
||||
@ -1177,7 +1177,7 @@ input, textarea {
|
||||
.fa-question {
|
||||
font-size: 5vh;
|
||||
width: 4vw;
|
||||
padding: 10%;
|
||||
padding: 5% 10% 10% 10%;
|
||||
text-align: center;
|
||||
|
||||
-webkit-transition: background-color 0.4s ease;
|
||||
|
||||
@ -466,7 +466,7 @@ Template.main.events({
|
||||
}
|
||||
|
||||
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
|
||||
'click .fa-bars' () { // Click menu button.
|
||||
@ -584,7 +584,7 @@ Template.main.events({
|
||||
Meteor.call("createRequest", array, function(err,result) {
|
||||
area.value = "Request sent!";
|
||||
setTimeout(function(){
|
||||
document.getElementById("requests").style.marginBottom = "-15.3vw";
|
||||
document.getElementById("requests").style.marginBottom = "-15.5vw";
|
||||
area.value = "";
|
||||
Session.set("commentRestrict",null);
|
||||
},750);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user