jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
36 lines (28 loc) • 798 B
JavaScript
;
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.
*/
const CenterForm = styled__default.form `
display: flex;
flex-direction: column;
min-width: ${props => (props.minWidth ? props.minWidth : '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;