markdownify small frames, css for new profile.
This commit is contained in:
parent
ca33070b9e
commit
0279874e32
4 changed files with 14 additions and 1 deletions
|
|
@ -8,6 +8,12 @@ app.views.SmallFrame = app.views.Base.extend({
|
|||
"click .content" : "goToPost"
|
||||
},
|
||||
|
||||
presenter : function(){
|
||||
//todo : we need to have something better for small frame text, probably using the headline() scenario.
|
||||
return _.extend(this.defaultPresenter(),
|
||||
{text : this.model && app.helpers.textFormatter(this.model.get("text"), this.model)})
|
||||
},
|
||||
|
||||
postRenderTemplate : function() {
|
||||
this.$el.addClass(this.photoClass() + ' ' + this.textClass())
|
||||
},
|
||||
|
|
|
|||
|
|
@ -49,6 +49,12 @@ body {
|
|||
-webkit-transform : scale(0.98);
|
||||
}
|
||||
|
||||
//hax to deal with markdownify
|
||||
p {
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
position : relative;
|
||||
|
||||
background-color : #fff;
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
text-align: center;
|
||||
width: 100%;
|
||||
display: block;
|
||||
clear: both;
|
||||
|
||||
.loader {
|
||||
display: inline-block;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
{{/if}}
|
||||
|
||||
<div class="text-content">
|
||||
{{text}}
|
||||
{{{text}}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="info">
|
||||
|
|
|
|||
Loading…
Reference in a new issue