resolve figure size
This commit is contained in:
parent
2563883c1c
commit
f2dbf084a7
2 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,8 @@
|
|||
<figcaption>{{ .Title }}</figcaption>
|
||||
</figure>
|
||||
{{ else }}
|
||||
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
|
||||
<figure>
|
||||
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
|
||||
</figure>
|
||||
{{ end }}
|
||||
|
||||
|
|
|
@ -6,4 +6,4 @@ article{padding:24px 0}
|
|||
.center {display: block;margin-left: auto;margin-right: auto;width: 100%;}
|
||||
img {display: block; max-width: 100%; height: auto;}
|
||||
figcaption {color: #888; font: 12px/1.5 monospace; text-align: center;}
|
||||
|
||||
figure {margin: auto}
|
||||
|
|
Loading…
Reference in a new issue