Skip to content

Commit

Permalink
style: select outline
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-golan committed Sep 19, 2021
1 parent 452c108 commit 936ab71
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
3 changes: 0 additions & 3 deletions apps/ng/src/app/contacts/contacts.component.css

This file was deleted.

3 changes: 2 additions & 1 deletion apps/ng/src/app/contacts/contacts.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ <h1 class="d-flex justify-content-center mb-4">Contacts</h1>
<div class="col-2 d-flex align-items-center">
<p>Show</p>
<select
class="mx-2 form-select form-select-sm w-25"
class="mx-2 form-select form-select-sm"
[formControl]="perPageControl"
style="width: 20%"
>
<option value="5">5</option>
<option value="10">10</option>
Expand Down
8 changes: 8 additions & 0 deletions apps/ng/src/app/contacts/contacts.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
h1 {
font-size: 64px;
}

select:focus {
border-color: inherit;
box-shadow: none;
}
2 changes: 1 addition & 1 deletion apps/ng/src/app/contacts/contacts.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { FormControl } from '@angular/forms';
@Component({
selector: 'elf-contacts',
templateUrl: './contacts.component.html',
styleUrls: ['./contacts.component.css'],
styleUrls: ['./contacts.component.scss'],
})
export class ContactsComponent implements OnInit {
data$ = combineLatest({
Expand Down

0 comments on commit 936ab71

Please sign in to comment.