Skip to content

Commit

Permalink
Made registration names smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
gsingh93 committed May 10, 2016
1 parent 6a675b0 commit a2df101
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ public function renderRulesContent(): :xhp {
<li class="fb-column-container">
<div class="col col-2-4 form-el el--text">
<label for="">Name</label>
<input name={$name_} type="text"/>
<input class="registration-name" name={$name_} type="text"/>
</div>
<div class="col col-2-4 form-el el--text">
<label for="">Email</label>
<input name={$email_} type="email"/>
<input class="registration-email" name={$email_} type="email"/>
</div>
</li>
);
Expand Down
10 changes: 10 additions & 0 deletions src/static/css/scss/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -553,10 +553,20 @@
.multiple-registration-list {
counter-reset: multiple-registration;

.registration-name {
min-width: 200px;
}

.registration-email {
min-width: 200px;
}

li {
counter-increment: multiple-registration;
position: relative;
padding-left: 40px;
max-width: 600px;
margin: auto;

&:before {
content: counter(multiple-registration, decimal-leading-zero);
Expand Down

0 comments on commit a2df101

Please sign in to comment.