Skip to content

Commit

Permalink
Merge pull request #2427 from skaut/top-bar-wrap-fix
Browse files Browse the repository at this point in the history
Částečně opraveno zalamování hlavního menu
  • Loading branch information
marekdedic authored Oct 30, 2023
2 parents dc8f8cc + 69d4c12 commit d98273e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/AccountancyModule/Components/templates/LoginPanel.latte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{if $user->isLoggedIn()}
<span id="timer" class="mr-3 w-auto small p-1 rounded">
<span id="timer" class="mr-3 w-auto small p-1 rounded text-nowrap">
<i class="far fa-clock"></i>
<span id="timer-minutes"></span>
</span>
Expand All @@ -14,7 +14,7 @@
</span>
</span>

<a href="{plink :Auth:logoutSis}" class="btn btn-sm btn-secondary my-2 my-sm-0">Odhlásit se</a>
<a href="{plink :Auth:logoutSis}" class="btn btn-sm btn-secondary my-2 my-sm-0 text-nowrap">Odhlásit se</a>
{else}
<a href="{plink :Auth:logOnSkautIs (isset($backlink)) ? $backlink : NULL}" class="btn btn-sm btn-primary my-2 my-sm-0">Přihlásit se</a>
<a href="{plink :Auth:logOnSkautIs (isset($backlink)) ? $backlink : NULL}" class="btn btn-sm btn-primary my-2 my-sm-0 text-nowrap">Přihlásit se</a>
{/if}
4 changes: 2 additions & 2 deletions app/templates/@layout.latte
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<a class="nav-link" n:href=":Accountancy:Camp:Default:">Tábory</a>
</li>
<li n:class="nav-item, $module === 'Education' ? active">
<a class="nav-link" n:href=":Accountancy:Education:Default:">Vzdělávačky<sup> <span class="badge badge-warning">Beta</span></sup></a>
<a class="nav-link text-nowrap" n:href=":Accountancy:Education:Default:">Vzdělávačky<sup> <span class="badge badge-warning">Beta</span></sup></a>
</li>
<li n:class="nav-item, $module === 'Travel' ? active">
<a class="nav-link" n:href=":Accountancy:Travel:Default:">Cesťáky</a>
Expand All @@ -63,7 +63,7 @@
</li>
{/if}
</ul>
<div class="my-2 my-lg-0">
<div class="my-2 my-lg-0 d-flex flex-row">
{control loginPanel}
</div>
</div>
Expand Down

0 comments on commit d98273e

Please sign in to comment.