Opengraph to mobile view
This commit is contained in:
parent
0a4b58ac12
commit
54b166bde9
2 changed files with 26 additions and 0 deletions
|
|
@ -1243,3 +1243,25 @@ input#q.search {
|
||||||
#content {
|
#content {
|
||||||
font-size: 13px !important;
|
font-size: 13px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.opengraph {
|
||||||
|
width: 100%;
|
||||||
|
a {
|
||||||
|
display: block;
|
||||||
|
text-decoration: none;
|
||||||
|
color: #000;
|
||||||
|
margin: 5px 0px 5px 0px;
|
||||||
|
border-top: solid 1px #DDD;
|
||||||
|
border-bottom: solid 1px #DDD;
|
||||||
|
padding: 5px 0px 2px 0px;
|
||||||
|
overflow: hidden;
|
||||||
|
img {
|
||||||
|
margin: 0px 3px 3px 0px;
|
||||||
|
float: left;
|
||||||
|
max-width: 80px;
|
||||||
|
}
|
||||||
|
.og-title {
|
||||||
|
margin-bottom: 3px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,7 @@
|
||||||
|
|
||||||
%div{:class => direction_for(post.text)}
|
%div{:class => direction_for(post.text)}
|
||||||
!= markdownify(post)
|
!= markdownify(post)
|
||||||
|
-if post.open_graph_cache
|
||||||
|
.opengraph
|
||||||
|
!= og_html post.open_graph_cache
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue