Merge pull request #365 from tonyaajjackson/master

Fix mid-word line breaks & right-side whitespace
This commit is contained in:
Jessica Schilling 2020-11-13 11:59:02 -07:00 committed by GitHub
commit 3b7d586e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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="word-break: break-word">
{{- 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,13 +49,13 @@
{{- 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">
<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 }}" >
</a>