UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

41 lines (33 loc) 982 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var styled = require('styled-components'); var styled__default = _interopDefault(styled); /** * @file index.tsx * * @fileoverview Shows a form centered on the page. */ /** * Places the form on the center of the page. Useful for login or register * pages where what we want the user to do is very clear. * It makes the main action and form very clear. Shouldn't be used for very long forms. */ const CenterForm = styled__default.form ` display: flex; flex-direction: column; min-width: 300px; input[type='email'], input[type='text'], input[type='password'] { margin-bottom: 0.5rem; width: 100%; } .button-submit { width: 100%; margin-left: 0; margin-right: 0; } `; exports.CenterForm = CenterForm; exports.default = CenterForm;