Formatting docs popovers for iPad.

This commit is contained in:
Nick Winter 2014-10-26 20:21:03 -07:00
parent 4c8e67efce
commit 7b2964c6ef
2 changed files with 9 additions and 2 deletions
app
styles/play/level/tome
views/play/level/tome

View file

@ -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

View file

@ -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) ->