Commit 480f6081 authored by Naomi Guyer's avatar Naomi Guyer Committed by Aaron Wells
Browse files

BUG: Fix equal width 3 col layout (bootstrap)

Bug 1465107: Use Bootstrap CSS Framework

Change-Id: I297b34774b0c5bf56fe9ba0081e10c504ac8cfe1
parent 982916f1
......@@ -55,6 +55,11 @@ $columns: 8; //up to 8
}
}
// Target all 3 col layouts with equal width
.column-layout.columns3.col-width-33 {
width: 31.3% !important; // override inline style with a more accurate width
}
.row-content {
@media (min-width: $screen-sm-min + 1) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
<div id="row_{$row}_column_{$column}" class="column column-layout columns{$numcolumns}{if $column == 1} firstcolumn{/if}{if $column == $numcolumns} lastcolumn{/if}" {if $width}style="width:{if $width == 100} {$width }%;{$width - 2}%;{/if}"{/if}>
<div id="row_{$row}_column_{$column}" class="column column-layout columns{$numcolumns}{if $column == 1} firstcolumn{/if}{if $column == $numcolumns} lastcolumn{/if} {if $width}col-width-{$width}{/if}" {if $width}style="width:{if $width == 100}{$width }%;{else}{$width - 2}%;{/if}"{/if}>
{if $addremovecolumns}
<div class="btn-header btn-group mbl {if $column == 1}btn-three{else}btn-two{/if}">
{if $column == 1}
......
<div id="row_{$row}_column_{$column}" class="column-layout columns{$numcolumns}{if $column == 1} first{/if}{if $column == $numcolumns} last{/if}" {if $width}style="width:{if $width == 100} {$width}%;{else}{$width - 2}%;{/if}"{/if}>
<div id="row_{$row}_column_{$column}" class="column-layout columns{$numcolumns}{if $column == 1} first{/if}{if $column == $numcolumns} last{/if} {if $width}col-width-{$width}{/if}" {if $width}style="width:{if $width == 100} {$width}%;{else}{$width - 2}%;{/if}"{/if}>
<div class="column-content">
{$blockcontent|safe}
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment