mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-01 15:50:11 -04:00
Formatting docs popovers for iPad.
This commit is contained in:
parent
4c8e67efce
commit
7b2964c6ef
2 changed files with 9 additions and 2 deletions
app
|
@ -112,5 +112,13 @@ html.fullscreen-editor
|
|||
margin-right: -300px
|
||||
|
||||
// iPad property docs
|
||||
|
||||
.tome-inventory-property-documentation
|
||||
background-color: #c86
|
||||
background-color: #e3d39a
|
||||
padding: 10px
|
||||
padding-bottom: 65px
|
||||
width: 320px
|
||||
min-height: 480px
|
||||
|
||||
h1:not(.not-code), h2:not(.not-code), h3:not(.not-code), h4:not(.not-code), h5:not(.not-code), h6:not(.not-code)
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace
|
||||
|
|
|
@ -228,7 +228,6 @@ module.exports = class SpellPaletteView extends CocoView
|
|||
iOSEntryGroups[group] =
|
||||
item: {name: group, imageURL: itemThangTypes[group]?.getPortraitURL()}
|
||||
props: (entry.doc for entry in entries)
|
||||
console.log 'going to send over', JSON.stringify(iOSEntryGroups)
|
||||
Backbone.Mediator.publish 'tome:palette-updated', thangID: @thang.id, entryGroups: JSON.stringify(iOSEntryGroups)
|
||||
|
||||
addEntry: (doc, shortenize, tabbify, isSnippet=false, item=null, showImage=false) ->
|
||||
|
|
Loading…
Add table
Reference in a new issue