mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-05-18 16:11:26 +02:00
Make .split columns work correctly with sub-divs
This commit is contained in:
parent
24a5baa545
commit
59624fb0c4
1 changed files with 7 additions and 7 deletions
|
@ -164,7 +164,7 @@ span .tag {
|
|||
.split {
|
||||
display: block;
|
||||
|
||||
div {
|
||||
& > div {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin: 0;
|
||||
|
@ -176,24 +176,24 @@ span .tag {
|
|||
}
|
||||
}
|
||||
|
||||
&.two div {
|
||||
&.two > div {
|
||||
width: 46%;
|
||||
}
|
||||
|
||||
&.three div,
|
||||
div.third {
|
||||
&.three > div,
|
||||
& > div.third {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
div.two-third {
|
||||
& > div.two-third {
|
||||
width: 66%;
|
||||
}
|
||||
|
||||
div.quarter {
|
||||
& > div.quarter {
|
||||
width: 22%;
|
||||
}
|
||||
|
||||
div.three-quarter {
|
||||
& > div.three-quarter {
|
||||
width: 72%;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue