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

some fix

parent 57c92d63
No related branches found
No related tags found
No related merge requests found
......@@ -144,3 +144,12 @@
list-style: none
padding-left: 0
margin-bottom: 0
@mixin inset($top: 0, $right: $top, $bottom: $top, $left: $top)
inset: $top $right $bottom $left
// polyfill for inset
@supports not (inset: $top)
bottom: $bottom
left: $left
right: $right
top: $top
\ No newline at end of file
......@@ -20,6 +20,7 @@
font-size: calc(#{$block-testimonials-font-size} * 3)
line-height: 1
position: absolute
transform: translateY(-50%)
// TODO : ajuster en fonctiond e la typo
figure
......
......@@ -11,8 +11,7 @@
@include media-breakpoint-down(md)
display: block
> div:first-of-type
padding-left: 0
padding-right: 0
padding: $spacing0 0
@include media-breakpoint-down(md)
float: left
max-width: calc(100% - 6rem)
......@@ -48,12 +47,18 @@
border-radius: 50%
overflow: hidden
position: relative
&::after
display: block
width: 100%
&::before
content: ""
display: block
padding-top: 100%
picture,
img
object-fit: cover
display: block
@include inset(0)
height: 100%
width: 100%
position: absolute
img
object-fit: cover
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