 renderStory = (storyId) ->
 	story = Db.shared.ref 'stories', storyId
 	Event.showStar story.get('title') if !Db.shared.get('single')
-	Dom.div !->
-		Dom.style margin: '-8px', background: '#fff', borderBottom: '2px solid #ccc', padding: '8px'
+	Ui.top !->
+		Dom.style margin: 0
 		Ui.avatar Plugin.userAvatar(story.get('user')), style: float: 'right'
 		Dom.h2 !->
 			Dom.userText story.get('title'), {br:false}
 		Dom.div !->
 			Dom.userText text if text=story.get('text')
-		renderComments story, [storyId]
+	renderComments story, [storyId]
 
 renderUpvoter = (path, votesObs, size = 50) ->
 	if path not instanceof Array

			Dom.onTap !->
				Page.nav !->
					Page.setTitle("New topic")
					Dom.style padding: '12px'
					Form.input
						name: 'title'
						text: tr 'Title'
					Dom.br()
					Form.text
						name: 'text'
						text: tr 'Info, details, your opinion, etc...'


renderComments = (base,path,margin=0,hide=false) !->
	if path.length is 1
		Dom.div !->
			Dom.style color: Plugin.colors().highlight, fontSize: '85%', padding: '12px', margin: '0', display: 'inline-block'
			Dom.text tr("Reply")
			Dom.onTap  !->
				reply path

	up = Db.personal.ref('up')
	base.iterate 'c', (comment) ->
		Dom.div !->
