Mobile fixes

This commit is contained in:
2015-03-31 17:36:29 +02:00
parent 792a31edfd
commit 42b77b164e
7 changed files with 14 additions and 7 deletions
@@ -54,6 +54,9 @@ DragNDrop.Draggable = Ember.Mixin.create
if Math.abs(@touchStartEvent.pageX - touch.pageX) < 2 and Math.abs(@touchStartEvent.pageY - touch.pageY) < 2
# The preventDefaults are preventing the click action to fire, therefore we trigger it ourselves
# But do not trigger when a handle insed the element is clicked
#NOTE: I think that $(ev.target).click() will work for all cases, makes the code simpler,
# but no time to test that now. Tested mostly on section elements, since they are draggable, clickable
# and have subclickable buttons
unless $(ev.target).parents('.handles-inside-draggable') or $(ev.target).hasClass('handles-inside-draggable')
@click() if @click
else
@@ -4,16 +4,19 @@
background-position: center
overflow: visible
position: relative
padding-bottom: 22px
.footer-shadow
height: 1px
//+box-shadow(0px 4px 10px #000)
.signup-button
+button
.footer-content-container
max-width: 838px
margin: 0 auto
.footer-content
background-color: #420F03
text-align: right
padding: 72px 30px 20px 10px
padding: 32px 30px 10px 10px
overflow: visible
margin: 0 auto
a
@@ -25,6 +28,5 @@
padding-left: 30px
padding-right: 30px
max-width: 838px
position: relative
overflow: visible
margin: 0 auto