Skip to content

Commit

Permalink
[BSv5] community/list row-col hierarchy fix (#1471)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Mar 8, 2023
1 parent d8bebad commit 33e1a49
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions layouts/community/list.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
{{ define "main" -}}

<a class="td-offset-anchor"></a>
<section class="row td-box td-box--primary position-relative td-box--height-auto">
<section
class="row td-box td-box--primary position-relative td-box--height-auto"
>
<div class="col-12 px-0">
<div class="container text-center td-arrow-down">
<span class="h4 mb-0">
<h1>{{ T "community_join" . }}</h1>
<p>{{ T "community_introduce" . }}</p>
</span>
<span class="h4 mb-0">
<h1>{{ T "community_join" . }}</h1>
<p>{{ T "community_introduce" . }}</p>
</span>
</div>
</div>
</section>

{{ partial "community_links.html" . -}}

{{ with .Content -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/blocks/cover.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<section id="{{ $blockID }}" class="row td-cover-block td-cover-block--height-{{ $height -}}
{{ if not .Site.Params.ui.navbar_translucent_over_cover_disable }} js-td-cover
{{- end }} td-overlay td-overlay--dark -bg-{{ $col_id }}">
<div class="col-12 p-0">
<div class="col-12 px-0">
<div class="container td-overlay__inner">
<div class="text-center">
{{ with .Get "title" }}<h1 class="display-1 mt-0 mt-md-5 pb-4">{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "70x70 %s" $logo_anchor)) }}<img class="td-cover-logo" src="{{ $logo_image_resized.RelPermalink }}" alt="{{ $title | html }} Logo">{{ end }}{{ $title | html }}</h1>{{ end }}
Expand Down

0 comments on commit 33e1a49

Please sign in to comment.