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