Skip to content

Commit

Permalink
Profile link
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed Jan 23, 2024
1 parent 35a3321 commit 40ebfed
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
11 changes: 11 additions & 0 deletions app/resources/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,17 @@ a.navbar-burger:hover {
}
}

.navbar-item-brand-mobile-right {
@media screen and (max-width: 1087px) {
position: absolute;
top: 10px;
right: 45px;
}
@media screen and (min-width: 1089px) {
display: none;
}
}

fieldset legend {
margin-bottom: 5px !important;
}
Expand Down
4 changes: 4 additions & 0 deletions app/views/navbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<img src="{{ asset('logo.png') }}"/>&nbsp;{{ app('workspace') }}
</a>
<a class="navbar-item navbar-item-brand-mobile-right" href="{{ url('/profile') }}">
<i class="fas fa-user" title="{{ __('app.profile') }}"></i>
</a>
<a id="burger-button" role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
Expand Down
Loading

0 comments on commit 40ebfed

Please sign in to comment.