Skip to content

Commit

Permalink
minor tweak padding of icons source code download (ocaml#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabine committed Mar 21, 2023
1 parent 845839f commit eeac92d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ocamlorg_frontend/pages/package_overview.eml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Package_layout.render
<%s Filename.basename uri %>
</span>

<div class="p-2 bg-primary-600 text-white rounded">
<div class="p-1 bg-primary-600 text-white rounded">
<%s! Icons.download "h-6 w-6" %>
</div>
</a>
Expand All @@ -225,11 +225,11 @@ Package_layout.render

<button
@click="$clipboard('<%s checksum %>'); copied = true; setTimeout(() => copied = false, 2000)"
x-show="!copied" title="copy checksum to clipboard" class="py-1 px-2 text-primary-600 rounded">
x-show="!copied" title="copy checksum to clipboard" class="p-1 text-primary-600 rounded">
<%s! Icons.copy "h-6 w-6" %>
</button>
<button x-show="copied" title="checksum copied to clipboard" class="py-1 px-2 text-primary-600 rounded">
<%s! Icons.copied_to_clipboard "h-4 w-4" %>
<button x-show="copied" title="checksum copied to clipboard" class="p-1 text-primary-600 rounded">
<%s! Icons.copied_to_clipboard "h-6 w-6" %>
</button>
</div>
<% end; %>
Expand Down

0 comments on commit eeac92d

Please sign in to comment.