Skip to content

Commit

Permalink
#142 fix alignment of organization box
Browse files Browse the repository at this point in the history
  • Loading branch information
pr130 committed Sep 14, 2020
1 parent a0fa331 commit f3c1251
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,5 @@ other = "Quelle"
other = "Für Nonprofits"
[for-volunteers]
other = "Für Volunteers"
[website]
other = "Webseite"
4 changes: 3 additions & 1 deletion i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,6 @@ other = "Source"
[for-nonprofits]
other = "For Nonprofits"
[for-volunteers]
other = "For Volunteers"
other = "For Volunteers"
[website]
other = "Website"
6 changes: 3 additions & 3 deletions layouts/projects/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ <h1>{{ (index .title $lang ) }}</h1>
<h1 class="ca-blue-text">{{ i18n "project-challenge" }}</h1>

<div class="col-md-6 float-right">
<div class="col-md-12 mb-2 mt-0 ml-5 pb-3 pr-5 ca-gradient-container">
<h2 class="ca-blue-text">{{ .organization.name }}: </h2>
<div class="col-md-12 mb-2 mt-0 ml-sm-0 ml-md-5 pb-3 pr-5 ca-gradient-container">
<h2 class="ca-blue-text">{{ .organization.name }}</h2>
{{ $about := (index .organization.about $lang ) }}
<p>
{{ $about.text | markdownify }}
Expand All @@ -24,7 +24,7 @@ <h2 class="ca-blue-text">{{ .organization.name }}: </h2>
<div class="row">
<p class="lead">
<i class="fas fa-globe"></i>
<a href="{{ .organization.website }}">{{ .organization.website }}</a>
<a href="{{ .organization.website }}">{{ i18n "website" }}</a>
</p>
</div>
<div class="ca-gradient-border"></div>
Expand Down

0 comments on commit f3c1251

Please sign in to comment.