Skip to content

Commit 2a1ac5b

Browse files
committed
update visibility of GitHub star link and adjust responsive classes
1 parent d1bd19d commit 2a1ac5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/algora_web/components/layouts/user.html.heex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,15 +232,15 @@
232232
<div class="ml-auto flex items-center gap-x-6">
233233
<.link
234234
:if={Algora.Stargazer.count()}
235-
class="group w-fit outline-none hidden lg:flex"
235+
class="group w-fit outline-none hidden sm:flex"
236236
target="_blank"
237237
rel="noopener"
238238
href={AlgoraWeb.Constants.get(:github_repo_url)}
239239
>
240-
<div class="rounded-[3px] hidden h-8 shrink-0 select-none items-center justify-center whitespace-nowrap bg-transparent p-2 text-center text-sm font-semibold transition duration-150 hover:bg-gray-850 disabled:opacity-50 group-focus:outline-none group-disabled:pointer-events-none group-disabled:opacity-75 lg:flex">
240+
<div class="rounded-[3px] h-8 shrink-0 select-none items-center justify-center whitespace-nowrap bg-transparent p-2 text-center text-sm font-semibold transition duration-150 hover:bg-gray-850 disabled:opacity-50 group-focus:outline-none group-disabled:pointer-events-none group-disabled:opacity-75">
241241
<div class="flex w-full items-center justify-center gap-x-1">
242242
<AlgoraWeb.Components.Logos.github class="mr-0.5 h-5 shrink-0 justify-start text-gray-300 transition" />
243-
<span class="hidden xl:block">Star</span>
243+
<span class="hidden sm:block">Star</span>
244244
<span class="font-semibold text-gray-300">
245245
{Algora.Stargazer.count()}
246246
</span>

0 commit comments

Comments
 (0)