This piece of code is perfectly styled with blueprintcss:
<div class="container">
<div class="span-12" style="background-color : cyan">
Hello
</div>
<div class="span-12 last" style="background-color : green">
Bye
</div>
</div>
It creates two columns that each take up half the space, which is quite nice:
Hello Bye
However, the text "Hello" is too close to the edge of its container div, so adding a bit of padding seems like the right move, doesn't it?
<div class="container">
<div class="span-12" style="background-color : cyan; padding-left : 5px">
Hello
</div>
<div class="span-12 last" style="background-color : green">
Bye
</div>
</div>
Unfortunately, this approach doesn't seem to work as expected, and the "Bye" column ends up positioned below the "Hello" column:
Hello
Bye
Decreasing the size of the second column isn't a viable solution since it should remain "12 grid columns wide".
Is there a better solution besides adding another markup level?
<div class="container">
<div class="span-12" style="background-color : cyan">
<div style="padding-left : 5px">Hello</div>
</div>
<div class="span-12 last" style="background-color : green">
Bye
</div>
</div>
What am I missing here?