mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-25 21:43:47 -04:00
Fixed some play subview positioning on iPad.
This commit is contained in:
parent
1f11ad66ed
commit
fb040fd882
3 changed files with 13 additions and 5 deletions
app
|
@ -102,7 +102,7 @@ watchForErrors = ->
|
|||
#msg += "\nStack: #{stack}" if stack = error?.stack
|
||||
unless webkit?.messageHandlers # Don't show these notys on iPad
|
||||
noty text: message, layout: 'topCenter', type: 'error', killer: false, timeout: 5000, dismissQueue: true, maxVisible: 3, callback: {onClose: -> --currentErrors}
|
||||
Backbone.Mediator.publish 'application:error', message: msg # For iOS app
|
||||
Backbone.Mediator.publish 'application:error', message: "Line #{line} of #{url}:\n#{msg}" # For iOS app
|
||||
|
||||
window.addIPadSubscription = (channel) ->
|
||||
window.iPadSubscriptions[channel] = true
|
||||
|
|
|
@ -235,9 +235,6 @@ body.ipad #level-view
|
|||
#code-area, .footer, #thang-hud
|
||||
display: none
|
||||
|
||||
#goals-view
|
||||
left: 40px
|
||||
|
||||
#level-chat-view
|
||||
bottom: 40px
|
||||
|
||||
|
|
|
@ -19,8 +19,9 @@
|
|||
background-size: 100% auto
|
||||
position: absolute
|
||||
bottom: -296px + 40px
|
||||
//left: -webkit-calc(27.5% - 417px / 2)
|
||||
left: 300px
|
||||
left: -webkit-calc(55% - 417px)
|
||||
left: calc(55% - 417px)
|
||||
// Bounce in
|
||||
@include transition(1s cubic-bezier(.17,.89,.42,1.36))
|
||||
z-index: 2
|
||||
|
@ -89,3 +90,13 @@
|
|||
|
||||
button
|
||||
margin-left: 10px
|
||||
|
||||
body.ipad #level-dialogue-view
|
||||
left: auto
|
||||
right: 0
|
||||
|
||||
&.active
|
||||
bottom: -60px
|
||||
|
||||
.hud-hint
|
||||
visibility: hidden
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue