Mobile fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user