Skip to content

Commit 6d0e45f

Browse files
Adjust layout, sizing, spacing of form controls
1 parent 3cad1c6 commit 6d0e45f

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed

demo/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/4.1.3/flatly/bootstrap.min.css"
2525
integrity="sha256-O7FfDCaEf9kSRN9b9kmWu8C3rhL1hxEpPHp+CTZ4pMk=" crossorigin="anonymous" />
26+
<link rel="stylesheet" href="styles.css" />
2627
</head>
2728

2829
<body>
@@ -70,8 +71,8 @@
7071
</div>
7172
</div>
7273

73-
<div class="form-group">
74-
<button type="button" class="btn btn-primary">
74+
<div class="form-group submit-form-group">
75+
<button type="button" class="btn btn-lg btn-primary">
7576
Generate Regular Expression
7677
</button>
7778
</div>

demo/styles.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.jumbotron {
2+
padding-bottom: 1em;
3+
padding-top: 1em;
4+
}
5+
6+
#words {
7+
height: 15em;
8+
}
9+
10+
.form-inline {
11+
flex-direction: column;
12+
}
13+
14+
.checkbox {
15+
margin-top: 1em;
16+
}
17+
18+
.submit-form-group {
19+
text-align: center;
20+
margin-top: 1em;
21+
}
22+
23+
#output {
24+
height: 5em;
25+
}
26+
27+
@media (min-width: 992px) {
28+
.checkbox {
29+
margin-left: auto;
30+
margin-top: 0;
31+
}
32+
33+
.form-inline {
34+
flex-direction: row;
35+
}
36+
}

0 commit comments

Comments
 (0)