Skip to content

Commit bb387f6

Browse files
robintomapollonian
authored andcommitted
Demo-site : Minor css and html changes
1 parent 824c5ef commit bb387f6

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/demo/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class Demo extends Component {
5858
type="number"
5959
value={numInputs}
6060
onChange={this.handleChange}
61+
min="0"
6162
/>
6263
</label>
6364
</div>

src/demo/styles.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,15 @@ input[type=number]::-webkit-outer-spin-button {
112112

113113
.margin-top--small {
114114
margin-top: 1rem;
115+
margin-bottom: -1rem;
116+
}
117+
118+
.margin-top--small > div {
119+
flex-wrap: wrap;
120+
}
121+
122+
.margin-top--small > div > div {
123+
margin-bottom: 1rem;
115124
}
116125

117126
.margin-top--medium {

0 commit comments

Comments
 (0)