tabular layout only for not nested elements

This commit is contained in:
dianafa 2015-06-08 21:17:17 +02:00
parent c3dcfb9d66
commit abd771d4cc

View file

@ -129,22 +129,22 @@ $infobox-section-header-background: transparentize($color-links, 0.9);
&.portable-infobox-layout-tabular {
.portable-infobox-item.item-type-key-val {
> .portable-infobox-item.item-type-key-val {
@include flexbox;
@include flex-direction(row);
box-sizing: border-box;
display: flex;
overflow: hidden;
width: 100%;
}
.portable-infobox-item-label {
@include flex-basis(30%);
font-size: inherit;
}
.portable-infobox-item-label {
@include flex-basis(30%);
font-size: inherit;
}
.portable-infobox-item-value {
@include flex-basis(70%);
vertical-align: top;
.portable-infobox-item-value {
@include flex-basis(70%);
vertical-align: top;
}
}
}
}