Skip to content

Commit

Permalink
Update header
Browse files Browse the repository at this point in the history
  • Loading branch information
devdanielsun committed Feb 11, 2024
1 parent 93b6b7e commit 2df595a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions pollor.client/src/app/header/header.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ a.nav-link.active, a.nav-link:hover, button.navbar-toggler {
width: 100%;
}

.nav-item a {
border: 1px solid white;
margin-bottom: 0.5rem;
}

.btn-group {
margin-left: auto;
}
Expand Down
6 changes: 3 additions & 3 deletions pollor.client/src/app/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ <h1 class="text-white">
<a class="nav-link text-light" aria-current="page" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}" routerLink="polls">All Polls</a>
</li>
</ul>
<form class="d-flex p-3" role="search">
<!-- <form class="d-flex p-3" role="search">
<input class="form-control me-2" type="search" placeholder="Search in polls" aria-label="Search" disabled readonly>
<button class="btn btn-light" type="submit" disabled readonly>Search</button>
</form>
</form> -->
<div class="d-flex p-3" role="search">

<!-- User options dropdown -->
<div class="btn-group">
<button type="button" class="btn btn-dark dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
<button type="button" class="btn btn-light dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
User actions
</button>
<ul class="dropdown-menu dropdown-menu-end w-100 p-2">
Expand Down

0 comments on commit 2df595a

Please sign in to comment.