Skip to content

Commit

Permalink
Fix ListTeaching items focus area and border fit (#320)
Browse files Browse the repository at this point in the history
* fix wrap bug

* fit focus area
  • Loading branch information
ali-benny authored Sep 19, 2024
1 parent 2666503 commit 1376ecf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/dash/[course]/ListTeaching.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@
{@const disabled = !activeYears.includes(teaching)}
<li
class:disabled
class="flex flex-row xs:flex-1 justify-center border-base-content items-center m-2 border-2 rounded-md join"
class="flex flex-row xs:flex-1 justify-center border-base-content items-center content-center m-2 border-2 rounded-md join"
>
<a
href={disabled ? null : getUrl(teaching)}
class="flex-wrap max-w-xs text-center text-lg join-item"
class="flex flex-wrap max-w-xs text-center text-lg join-item h-full justify-center content-center"
>
{teaching.name ? teaching.name : teaching.url}
</a>
{#if teaching.chat != null && teaching.chat !== ''}
<a
href={disabled ? null : 'https://' + teaching.chat}
class="text-center join-item border-l-2"
class="flex text-center join-item border-l-2 border-base-content h-full justify-center"
title="Link alla community"
>
<span class="text-2xl icon-[akar-icons--people-group]"></span>
Expand Down

0 comments on commit 1376ecf

Please sign in to comment.