From e68fb2552f0c0cc3c31b8fd2d6d81a813745c51c Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Sat, 10 Sep 2016 00:44:06 -0400 Subject: [PATCH] Request box css fixes --- hourglass/client/main/main.css | 4 ++-- hourglass/client/main/main.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hourglass/client/main/main.css b/hourglass/client/main/main.css index b95e9bd..3fb09c5 100644 --- a/hourglass/client/main/main.css +++ b/hourglass/client/main/main.css @@ -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; diff --git a/hourglass/client/main/main.js b/hourglass/client/main/main.js index d71a51b..17b3163 100644 --- a/hourglass/client/main/main.js +++ b/hourglass/client/main/main.js @@ -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);