Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/style/material.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
.form-control {
font-size: 16px;
background: #FFFFFF;
border: 1px solid #CACACA;
border-radius: 5px;
border-top: 0px solid #CACACA;
border-left: 0px solid #CACACA;
border-right: 0px solid #CACACA;
border-radius: 0px;
width: 300px;
outline: none;
padding: 18.5px 14px 18.5px 58px;
Expand All @@ -16,7 +18,7 @@
}
&:focus {
border-color: #1976d2;
box-shadow: 0 0 0 1px #1976d2;
box-shadow: 0 0 0 0px #1976d2;
&+div:before {
color: #1976d2;
}
Expand Down
3 changes: 2 additions & 1 deletion test/dev_js/demo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { render } from 'react-dom';
import PhoneInput from '../../src/index';
import '../../src/style/style.less';
import '../../src/style/material.less';


class Demo extends React.Component {
Expand Down Expand Up @@ -153,6 +153,7 @@ class Demo extends React.Component {
country='nl'
enableSearch
enableAreaCodes={['ca']}
style={{border: '0px'}}
/>
<PhoneInput
country='it'
Expand Down