Skip to content

Instantly share code, notes, and snippets.

@vfontjr
Created April 25, 2020 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vfontjr/85417d5a2b9c4f5a4afc156821d1ef17 to your computer and use it in GitHub Desktop.
Save vfontjr/85417d5a2b9c4f5a4afc156821d1ef17 to your computer and use it in GitHub Desktop.
.start-flex {
display: flex;
flex-direction: row;
flex: 1;
flex-wrap: nowrap
}
.monday,
.tuesday,
.wednesday,
.thursday,
.friday,
.saturday {
margin-right: 3px;
}
<div class="start-flex"><!-- start flex -->
<div id="frm_field_[id]_container" class="monday frm_form_field form-field [required_class][error_class]">
<label for="field_[key]" class="frm_primary_label">[field_name]
<span class="frm_required">[required_label]</span>
</label>
[input]
[if description]<div class="frm_description" id="frm_desc_field_[key]">[description]</div>[/if description]
[if error]<div class="frm_error">[error]</div>[/if error]
</div>
<div id="frm_field_[id]_container" class="sunday frm_form_field form-field [required_class][error_class]">
<label for="field_[key]" class="frm_primary_label">[field_name]
<span class="frm_required">[required_label]</span>
</label>
[input]
[if description]<div class="frm_description" id="frm_desc_field_[key]">[description]</div>[/if description]
[if error]<div class="frm_error">[error]</div>[/if error]
</div>
</div><!-- flex end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment