mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
tabular layout only for not nested elements
This commit is contained in:
parent
c3dcfb9d66
commit
abd771d4cc
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue