Skip to content
Snippets Groups Projects
Commit 5b61d77e authored by Martin Leblanc's avatar Martin Leblanc
Browse files

ISTWCMS-6016 fix of contact grid

parent eb1c700f
No related branches found
No related tags found
1 merge request!69ISTWCMS-6016 fix of contact grid
......@@ -90,8 +90,11 @@
// CSS for specific node card presentations:
&--contact {
@include uw-contained-width();
display: grid;
grid-template-columns: 100%;
display: block;
@media(min-width: $screen-md) {
display: grid;
grid-template-columns: 100%;
}
.card__media{
@include uw-full-width-margin;
grid-column: 1 / 3;
......@@ -161,11 +164,12 @@
.uw-node__without-media & {
@media(min-width: $screen-md) {
grid-template-columns: 100%;
padding: var(--size-2) 0;
}
.card__body,
.card__footer {
grid-column: 1 / 2;
grid-column: 1 / 3;
}
}
.uw-node__without-media.uw-node__with-portrait &{
......@@ -184,6 +188,10 @@
grid-column: 2 / 3;
}
}
.card__body,
.card__footer {
grid-column: 1 / 3;
}
}
}
.uw-node__with-media.uw-node__with-portrait &{
......
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