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"
|
"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() {
|
postRenderTemplate : function() {
|
||||||
this.$el.addClass(this.photoClass() + ' ' + this.textClass())
|
this.$el.addClass(this.photoClass() + ' ' + this.textClass())
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,12 @@ body {
|
||||||
-webkit-transform : scale(0.98);
|
-webkit-transform : scale(0.98);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//hax to deal with markdownify
|
||||||
|
p {
|
||||||
|
font-size: inherit;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
position : relative;
|
position : relative;
|
||||||
|
|
||||||
background-color : #fff;
|
background-color : #fff;
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
clear: both;
|
||||||
|
|
||||||
.loader {
|
.loader {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class="text-content">
|
<div class="text-content">
|
||||||
{{text}}
|
{{{text}}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue