Improve how public status pages look slightly
parent
15af998d7b
commit
2fa716c92a
|
@ -79,7 +79,8 @@
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
width: 56px;
|
width: 56px;
|
||||||
padding: 15px;
|
padding: 15px 10px;
|
||||||
|
padding-right: 5px;
|
||||||
float: left;
|
float: left;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
@ -91,7 +92,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry__container__container {
|
.entry__container__container {
|
||||||
margin-left: 86px;
|
margin-left: 71px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
|
@ -197,7 +198,7 @@
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
margin-bottom: 21px;
|
margin-bottom: 15px;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
.content= Formatter.instance.format(proper_status(status))
|
.content= Formatter.instance.format(proper_status(status))
|
||||||
|
|
||||||
|
- if (status.reblog? ? status.reblog : status).media_attachments.size > 0
|
||||||
%ul.media-attachments
|
%ul.media-attachments
|
||||||
- (status.reblog? ? status.reblog : status).media_attachments.each do |media|
|
- (status.reblog? ? status.reblog : status).media_attachments.each do |media|
|
||||||
%li.transparent-background= link_to '', media.file.url, style: "background-image: url(#{media.file.url(:small)})", target: '_blank'
|
%li.transparent-background= link_to '', media.file.url, style: "background-image: url(#{media.file.url(:small)})", target: '_blank'
|
||||||
|
|
Loading…
Reference in New Issue