mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
Merge branch 'dev' into DAT-3711
This commit is contained in:
commit
515e24f213
|
@ -25,6 +25,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin individualElementsStyles() {
|
@mixin individualElementsStyles() {
|
||||||
|
$padding: 10px;
|
||||||
|
|
||||||
.pi-image {
|
.pi-image {
|
||||||
text-align: center; // center smaller image inside infobox
|
text-align: center; // center smaller image inside infobox
|
||||||
}
|
}
|
||||||
|
@ -57,6 +59,8 @@
|
||||||
|
|
||||||
.pi-data-label {
|
.pi-data-label {
|
||||||
@include flex-basis($infobox-width / 3);
|
@include flex-basis($infobox-width / 3);
|
||||||
|
max-width: $infobox-width / 3 - $padding;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pi-data-value {
|
.pi-data-value {
|
||||||
|
@ -66,7 +70,8 @@
|
||||||
|
|
||||||
&:not(:first-child) {
|
&:not(:first-child) {
|
||||||
@include flex-basis($infobox-width * 2 / 3);
|
@include flex-basis($infobox-width * 2 / 3);
|
||||||
padding-left: 10px;
|
|
||||||
|
padding-left: $padding;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue