Skip to content
Snippets Groups Projects
Commit 2c2dfbdc authored by alexisben's avatar alexisben
Browse files

fix breadcrumb

parent bfa2b58f
No related branches found
No related tags found
No related merge requests found
...@@ -28,3 +28,5 @@ class Dropdown { ...@@ -28,3 +28,5 @@ class Dropdown {
new Dropdown(selector); new Dropdown(selector);
} }
}); });
// TODO : A11Y fermer dropdown avec la touche escap + s'assurer de conserver l'emplacement du focus
...@@ -216,7 +216,7 @@ $program-share-font-size-md: $h5-size-md !default ...@@ -216,7 +216,7 @@ $program-share-font-size-md: $h5-size-md !default
$program-zindex-toc: $zindex-toc !default $program-zindex-toc: $zindex-toc !default
// Layout posts list // Layout posts list
$posts-list-horizontal: false !default $posts-layout-list: false !default
// MISC // MISC
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
.hero .hero
margin-bottom: $spacing4 margin-bottom: $spacing4
@if $posts-list-horizontal @if $posts-layout-list
.posts .posts
@include grid(1) @include grid(1)
grid-gap: 0 grid-gap: 0
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
display: flex display: flex
flex-direction: row flex-direction: row
@include media-breakpoint-up(md) @include media-breakpoint-up(md)
@include grid(12, md) @include grid
div:not(.media) div:not(.media)
grid-column: 4/13 grid-column: 4/13
@include media-breakpoint-down(md) @include media-breakpoint-down(md)
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
div:not(.media) div:not(.media)
p, p,
a a
max-width: col(8) max-width: col(6, 9)
@else @else
.posts .posts
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
{{- else -}} {{- else -}}
<a itemprop="item" href="{{ .page.Permalink }}"> <a itemprop="item" href="{{ .page.Permalink }}">
{{- end }} {{- end }}
<span itemprop="name">{{- $title -}}</span> <span itemprop="name">{{- partial "PrepareHTML" $title -}}</span>
<meta itemprop="position" content="{{- .position -}}"> <meta itemprop="position" content="{{- .position -}}">
{{ if .active -}} {{ if .active -}}
</span> </span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment