]> BookStack Code Mirror - bookstack/commitdiff
Code refactoring
authorStatium <redacted>
Sat, 7 Mar 2020 09:43:42 +0000 (14:43 +0500)
committerDan Brown <redacted>
Wed, 11 Mar 2020 21:27:22 +0000 (21:27 +0000)
Removed extra spaces displayed in the header of the login and registration link.

resources/views/common/header.blade.php

index 7c837ec29bd90a25f178094a12592976c76ea88b..524e4a11af000be035e647b7073900fdfa5aef93 100644 (file)
@@ -25,7 +25,7 @@
         </div>
 
         <div class="text-right">
-            <nav class="header-links" >
+            <nav class="header-links">
                 <div class="links text-center">
                     @if (hasAppAccess())
                         <a class="hide-over-l" href="{{ url('/search') }}">@icon('search'){{ trans('common.search') }}</a>
@@ -43,9 +43,9 @@
 
                     @if(!signedInUser())
                         @if(setting('registration-enabled') && config('auth.method') === 'standard')
-                            <a href="{{ url('/register') }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>
+                            <a href="{{ url('/register') }}">@icon('new-user'){{ trans('auth.sign_up') }}</a>
                         @endif
-                        <a href="{{ url('/login') }}">@icon('login') {{ trans('auth.log_in') }}</a>
+                        <a href="{{ url('/login') }}">@icon('login'){{ trans('auth.log_in') }}</a>
                     @endif
                 </div>
                 @if(signedInUser())
@@ -77,4 +77,4 @@
         </div>
 
     </div>
-</header>
\ No newline at end of file
+</header>
Morty Proxy This is a proxified and sanitized view of the page, visit original site.