Skip to content
Snippets Groups Projects
Commit 59bcfe3b authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-6016-m26lebla-fix-contact-grid' into '1.0.x'

ISTWCMS-6016 fix of contact grid

See merge request !69
parents eb1c700f 5b61d77e
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