mirror of
https://github.com/seigler/awesome-dash-platform
synced 2025-07-26 22:26:10 +00:00
Merge pull request #2 from seigler/master
Bounty "Center images on cards and wrap text"
This commit is contained in:
commit
ea198269a0
1 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
{{ define "text" }}
|
||||
<p class="f6 lh-copy mw5 mt2 mb0 mid-gray" style="word-break: break-all">
|
||||
<p class="f6 lh-copy mt2 mb0 mid-gray" style="hyphens: auto; -webkit-hyphens: auto;">
|
||||
{{- markdownify . -}}
|
||||
</p>
|
||||
{{ end }}
|
||||
|
@ -31,7 +31,7 @@
|
|||
<div class="dt w-100 mt1">
|
||||
<div class="dtc">
|
||||
<a target="_blank" class="no-underline charcoal" href="{{ if .website }}{{ .website }}{{ else if .source }}{{ .source }}{{ else if .demo }}{{ .demo }}{{ end }}">
|
||||
<h1 class="f5 mw5 f4-ns mv0">{{- .title -}}</h1>
|
||||
<h1 class="f5 f4-ns mv0">{{- .title -}}</h1>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -49,15 +49,15 @@
|
|||
{{- end -}}
|
||||
|
||||
{{- if isset . "hash" -}}
|
||||
<div class="mt2 mw5">
|
||||
<div class="mt2">
|
||||
{{ template "hash" .hash }}
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
{{- if isset . "picture" -}}
|
||||
<div class="mt2 mw5">
|
||||
<div class="mt2 tc">
|
||||
<a target="_blank" class="no-underline charcoal" href="{{ if .website }}{{ .website }}{{ else if .source }}{{ .source }}{{ else if .demo }}{{ .demo }}{{ end }}">
|
||||
<img class="br2" src="{{ .picture | relURL }}" >
|
||||
<img class="br2" src="{{ .picture | relURL }}" style="max-height: 20em" >
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue