Skip to content

Commit

Permalink
Fix a few CSS styles to improve the responsive design
Browse files Browse the repository at this point in the history
  • Loading branch information
romainhuet committed Oct 31, 2017
1 parent e50d19a commit 4c0cf10
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion server/public/stylesheets/rocketrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ fieldset {
}

.form input[type="radio"] {
display: none;
width: 15px;
}

Expand Down Expand Up @@ -663,7 +664,7 @@ form a.button {
align-items: center;
cursor: pointer;
text-align: left;
margin: 0 20px;
margin: 10px 20px;
}

.pilot-option input {
Expand Down Expand Up @@ -877,8 +878,16 @@ form a.button {
margin: 0;
}

nav ol {
position: relative;
}

nav ol li:not(.active) {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
pointer-events: none;
}
Expand Down
4 changes: 2 additions & 2 deletions server/views/signup.pug
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ block content
.pilot-options
label.pilot-option
input(type='radio', name='pilot-type', value='individual', id='po-individual', checked=true)
span Sign up as Individual
span Individual
label.pilot-option
input(type='radio', name='pilot-type', value='company', id='po-company')
span Sign up as Company
span Company

h4.pilot-header Personal Information
fieldset
Expand Down

0 comments on commit 4c0cf10

Please sign in to comment.