Changed global form style for inputs to Formular

This commit is contained in:
Piotr Janosz
2019-07-07 15:36:29 +02:00
committed by fabioberger
parent a9748e1b52
commit 37dd494abd
3 changed files with 5 additions and 2 deletions

View File

@@ -64,7 +64,6 @@ const Input = styled.input`
background-color: transparent;
border: 0;
border-bottom: 1px solid #cfcfcf;
font-family: 'Roboto Mono', sans-serif;
font-size: 1.1rem;
font-weight: 300;
width: 100%;

View File

@@ -156,7 +156,7 @@ const SubmitButton = styled.button`
outline: 0;
&:focus-within {
//background-color: #eee;
background-color: #eee;
}
`;

View File

@@ -86,6 +86,10 @@ const GlobalStyles = withTheme(
overflow: hidden;
}
input {
font-family: 'Formular Mono', sans-serif;
}
img, svg {
max-width: 100%;
object-fit: contain;