hautes-alpes-territoire: display cell picture on left of cell title (#47194)

This commit is contained in:
Thomas Jund 2020-09-30 15:23:22 +02:00
parent c5d54050b9
commit cfbba53685
1 changed files with 36 additions and 0 deletions

View File

@ -139,6 +139,42 @@ main {
margin-top: 1.5rem;
}
//
// CELLS
//
// Forms of category & link-list
.gru-content div.link-list-cell,
.gru-content div.wcsformsofcategorycell {
// Picture position
&.has-asset-picture {
$picture-width: 120px;
> div {
display: flex;
flex-wrap: wrap;
align-items: center;
> * {
flex: 0 0 100%;
}
> h2:first-child {
flex: 1 0 50%;
}
> picture {
display: block;
order: -1;
flex: 0 0 $picture-width;
z-index: 1;
img {
padding: 0;
}
}
}
}
}
//
// WCS
//