Skip to content

Commit

Permalink
Add back border properties to InputWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
xdrdak committed Oct 17, 2019
1 parent 6d3ff8b commit 81c7113
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/flame/src/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { css } from '@emotion/core';
import styled from '@emotion/styled';

import { themeGet } from '@styled-system/theme-get';
import { layout, LayoutProps } from 'styled-system';
import { layout, LayoutProps, compose } from 'styled-system';
import { Merge } from 'type-fest';

import { Flex, Box, border, BorderProps } from '../Core';
Expand Down Expand Up @@ -138,7 +138,10 @@ const Wrapper = styled('div')<WrapperProps>`
transition: all ${themeGet('transition.transition-duration-fast')} ease-in-out;
width: 100%;
${layout}
${compose(
layout,
border,
)}
${props =>
props.disabled &&
Expand Down

0 comments on commit 81c7113

Please sign in to comment.