Skip to content
Snippets Groups Projects
Unverified Commit 1dcee898 authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Merge branch 'main' into feature/image-sizes-configuration

parents 99349194 bbedd259
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,15 @@
.organizations
margin-top: $spacing2
.organizations__page
.lead
font-family: $lead-sidebar-font-family
font-weight: $lead-sidebar-weight
line-height: $lead-sidebar-line-height
margin-bottom: $spacing1
@include media-breakpoint-up(desktop)
font-size: $lead-sidebar-size-desktop
.document-content
.organization-meta
.logo
......
......@@ -11,7 +11,18 @@
}}
<div class="container">
{{ partial "organizations/content.html" . }}
<div itemprop="articleBody" class="rich-text">
{{ partial "pages/chapo.html" (dict
"context" .
) }}
{{ if (partial "GetTextFromHTML" .Content) }}
{{ partial "PrepareHTML" (
partial "H2AddId" .Content
) }}
{{ end }}
</div>
<div class="organization-meta">
{{ partial "organizations/logo.html" . }}
{{ partial "organizations/contacts.html" . }}
......
......@@ -186,7 +186,6 @@
const dimensionHeight = img.naturalHeight * window.devicePixelRatio;
console.log(`
-------------------------
Device Pixel Ratio: ${window.devicePixelRatio}
Rendered size: ${img.width}x${img.height}
Intrinsic size: ${dimensionWidth}x${dimensionHeight}
Device Pixel Ratio: ${window.devicePixelRatio}
......
{{- partial "commons/chapo.html" . -}}
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