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

fix project grid

parent e32f18be
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,6 @@
display: flex
flex-direction: column
gap: $spacing-3
// Espace sécurité pour le bouton de partage en absolute
position: relative
padding-bottom: calc(#{$spacing-5} + #{$spacing-2})
.project-infos
--color-text: #{$project-infos-color-text}
--color-text-alt: #{$project-infos-color-text-alt}
......@@ -29,11 +26,9 @@
@include list-reset
display: flex
gap: $spacing-3
// Espace sécurité pour le bouton de partage en absolute
.dropdown-share
position: absolute
bottom: 0
right: 0
.btn
margin-top: 0
@include media-breakpoint-up(sm)
.hero
......@@ -54,3 +49,11 @@
width: columns(4)
figure
width: columns(6)
.hero-text
// Safe space for dropdown share button wich is in a absolute position
position: relative
padding-bottom: calc(#{$spacing-5} + #{$spacing-2})
.dropdown-share
position: absolute
bottom: 0
right: 0
......@@ -29,6 +29,7 @@
img
display: block
object-fit: cover
max-width: max-content
@if $aspect-ratio
aspect-ratio: $aspect-ratio
p + time
......
......@@ -106,7 +106,7 @@ params:
hide_category: false
hide_author: false
hide_date: false
# share_links: # Optionnel
# share_links: # Optional
# enabled: true
# facebook: true
# twitter: true
......@@ -123,7 +123,7 @@ params:
show_year: false
truncate_description: 200 # Set to 0 to disable truncate
layout: list # grid | list
# share_links: # Optionnel
# share_links: # Optional
# enabled: true
# facebook: true
# twitter: true
......@@ -134,7 +134,7 @@ params:
programs:
related_posts:
quantity: 4
# share_links: # Optionnel
# share_links: # Optional
# enabled: true
# facebook: true
# twitter: true
......
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