This css is trying to have a check box to the left of the label and make both clickable. The element is inside a flex container as in the code but what I am getting is a check box and a label under it not to the left of it. How can I fix this? Thanks.
.flex-column-item {
padding: 0.3em 2%;
}
.flex-column-container {
margin: 1em 0;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: column ;
-ms-flex-flow: column ;
flex-flow: column ;
}
.flex-container {
margin: 1em 0;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.left {
-webkit-align-self: flex-start;
align-self: flex-start;
}
<template name="content">
{{#if Template.subscriptionsReady}}
<form class="flex-column-container">
{{#each this.items}}
<div class="flex-column-item">
{{> checkbox}}
</div>
{{/each}}
</form>
{{/if}}
</template>
<template name="checkbox">
<div class="flex-container">
<label>
<input class="left" type="checkbox" name={{name}} data-name="{{name}}">{{label}}
</label>
</div>
</template>