Commit f4482042 authored by Martin Leblanc's avatar Martin Leblanc Committed by Martin Leblanc
Browse files

ISTWCMS-5329: adjustments to the profile card

parent 5c0f1cd2
......@@ -20,5 +20,35 @@
padding: 0;
}
}
&--profile{
.card{
&__image{
margin:0;
max-width:5rem;
}
&__header{
display:grid;
grid-template-columns: auto 1fr;
//grid-template-rows: minmax(3rem, auto);
.uw-image__profiles{
grid-column: 1/2;
grid-row: 1 / 3;
margin-right:1rem;
}
.card__position{
grid-column: 2/3;
grid-row: 2/3;
}
.card__title{
grid-column: 2/3;
grid-row: 1/2;
margin:0;
}
}
&__body{
grid-column: 1/3;
}
}
}
}
<div class="card__header">
{% if bundle == 'uw_ct_profile' %}
<div class="uw-image__profiles" style="width: 150px; height: 180px;">
{% if image %}
<div class="uw-image__profiles">
{% include '@components/card/card-elements/_image.twig' with {
'image': image,
'bundle': bundle
} %}
</div>
{% endif %}
{% endif %}
{% if header.date %}
......
......@@ -295,7 +295,6 @@ $sidebar-width: 18.75rem;
.path-events,
.view-uw-view-events,
.path-taxonomy,
.path-profiles,
.path-opportunities{
.view-content {
@include uw-flex-grid();
......@@ -308,6 +307,15 @@ $sidebar-width: 18.75rem;
}
}
}
.path-profiles{
.view-content {
@include uw-flex-grid();
padding: 0;
.views-row {
@include uw-flex-term-item();
}
}
}
.path-contacts{
.views-row{
width:100%;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment