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

Correction du top (titre et description) des blocs (#479)

parent 383a7b9f
No related branches found
No related tags found
No related merge requests found
......@@ -5,13 +5,17 @@
.block-title
@include h5
.top
.block-title
+ .description
margin-top: $spacing-3
position: relative
margin-bottom: calc(#{$spacing-3} + #{$spacing-2})
.block-title + .description
margin-top: $spacing-3
.block-title.hidden + .description
margin-top: 0
margin-top: 0
@include in-page-without-sidebar
--block-space-y: #{$block-space-y-desktop}
.top
.description
max-width: columns(8)
@include in-page-with-sidebar
--block-space-y: #{$block-space-y-with-sidebar}
......
.top
margin-bottom: calc(#{$spacing-3} + #{$spacing-2})
position: relative
h2, p
margin-bottom: 0
.link
@extend .link-more
// Polyfill flex-wrap
@supports not (flex-wrap: wrap)
display: block
h2
display: inline-block
.link
float: right
......@@ -36,7 +36,6 @@
@import design-system/search
@import design-system/table
@import design-system/table_of_contents
@import design-system/top
// Blocks
@import blocks/base
......
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