neiam
/gitgud
Git Gud
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
1
Log in to mark this repository.
Put the licence on the tab row rather than under it
f21859b · Gabriel Morell · 2026-09-22 13:54
Message
{commit_body(@commit)}
Files changed
modified
lib/git_gud_web/live/repo_live/languages.ex
+8
−7
@@ -67,11 +67,14 @@ defmodule GitGudWeb.RepoLive.Languages do
| 67 | 67 | <h1 class="text-xl font-semibold">Stats</h1> |
| 68 | 68 | </header> |
| 69 | 69 | |
| 70 | − <GitGudWeb.RepoLive.StatsTabs.tabs | |
| 71 | − active={:languages} | |
| 72 | − handle={@handle} | |
| 73 | − repo={@repo} | |
| 74 | − /> | |
| 70 | + <div class="flex flex-wrap items-center justify-between gap-x-4 gap-y-2"> | |
| 71 | + <GitGudWeb.RepoLive.StatsTabs.tabs | |
| 72 | + active={:languages} | |
| 73 | + handle={@handle} | |
| 74 | + repo={@repo} | |
| 75 | + /> | |
| 76 | + <.license repo={@repo} handle={@handle} /> | |
| 77 | + </div> | |
| 75 | 78 | |
| 76 | 79 | <p class="text-xs opacity-60 font-mono"> |
| 77 | 80 | on {@current_ref} |
@@ -80,8 +83,6 @@ defmodule GitGudWeb.RepoLive.Languages do
| 80 | 83 | <% end %> |
| 81 | 84 | </p> |
| 82 | 85 | |
| 83 | − <.license repo={@repo} handle={@handle} /> | |
| 84 | − | |
| 85 | 86 | <%= case @status do %> |
| 86 | 87 | <% :empty -> %> |
| 87 | 88 | <p class="text-sm opacity-70">This branch or repository is empty.</p> |
Parents: fd8f955