kopia lustrzana https://github.com/Aonrud/ila-microblog.pub
fix: Correct matadata link summaries where no img is provided
rodzic
4de9847cab
commit
b0c537a8fb
|
@ -209,8 +209,8 @@ nav.flexbox {
|
|||
|
||||
.activity-og-meta {
|
||||
display: flex;
|
||||
padding: 0;
|
||||
div:first-child {
|
||||
padding: 0;
|
||||
.meta-img {
|
||||
flex: 0 0 150px;
|
||||
border-radius: 4px 0 0 4px;
|
||||
img {
|
||||
|
|
|
@ -412,7 +412,7 @@
|
|||
{% for og_meta in object.og_meta[:1] %}
|
||||
<a href="{{ og_meta.url | privacy_replace_url }}" class="activity-og-meta card">
|
||||
{% if og_meta.image %}
|
||||
<div><img src="{{ og_meta.image | media_proxy_url }}" /></div>
|
||||
<div class="meta-img"><img src="{{ og_meta.image | media_proxy_url }}" /></div>
|
||||
{% endif %}
|
||||
<div class="caption">
|
||||
<h4>{{ og_meta.title }}</h4>
|
||||
|
|
Ładowanie…
Reference in New Issue