Merge pull request #4428 from svbergerem/4421-display-photos-inline
Fix photos in spv and always show visibility of post
This commit is contained in:
commit
d891bcb6e4
3 changed files with 21 additions and 4 deletions
|
|
@ -19,6 +19,14 @@
|
|||
content: '\e718';
|
||||
}
|
||||
|
||||
&.globe:before {
|
||||
content: '\1f30e';
|
||||
}
|
||||
|
||||
&.lock:before {
|
||||
content: '\1f512';
|
||||
}
|
||||
|
||||
&.red {
|
||||
color: #A40802;
|
||||
}
|
||||
|
|
@ -39,4 +47,8 @@
|
|||
&.middle {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
&.small {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,14 +56,17 @@
|
|||
}
|
||||
border-right: solid 1px #cccccc;
|
||||
padding-right: 10px;
|
||||
|
||||
#body {
|
||||
margin-left: 20px;
|
||||
padding-top: 20px;
|
||||
width: auto;
|
||||
.photo_attachments {
|
||||
padding-bottom: 10px;
|
||||
text-align: center;
|
||||
img {
|
||||
display: block;
|
||||
&.big_stream_photo { display: block; }
|
||||
display: inline;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-bottom: 5px;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
<div class='pull-right'>
|
||||
<span class='public-info'>
|
||||
{{#unless public}}
|
||||
<i class="icon-lock icon-grey"> </i>
|
||||
{{/unless}}
|
||||
{{#if public}}
|
||||
<i class="entypo globe small"> </i>
|
||||
{{else}}
|
||||
<i class="entypo lock small"> </i>
|
||||
{{/if}}
|
||||
</span>
|
||||
<span class="post-time">
|
||||
<time datetime="{{created_at}}" title="{{localTime created_at}}" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue