[FIX] website: stop making parallax content disappear on save
Depending on the context, the s_parallax snippet content was not showing after save. This was because the HTML is prettyfied on save and so spaces are inserted around the .oe_structure, making it break over the next line. This commit removed the vertical middle alignment of the .oe_structure block (so back like it was before v10.0), allowing to fix the problem.
This commit is contained in:
@@ -406,21 +406,6 @@ div.carousel {
|
||||
|
||||
.s_parallax {
|
||||
min-height: 200px;
|
||||
|
||||
> .oe_structure {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 0;
|
||||
min-height: inherit;
|
||||
height: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.s_big_message { // TO REMOVE IN MASTER > 10.0
|
||||
|
||||
Reference in New Issue
Block a user