Skip to content

Commit e8e282a

Browse files
aleksflSimrayz
andauthored
Apply suggestions from code review
Co-authored-by: Simen Abelsen <[email protected]>
1 parent e18f388 commit e8e282a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/argus/htmx/templates/htmx/user/_user_menu.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222
{% endblock items %}
2323
<li>
2424
<div class="divider divider-secondary pl-2 pr-4 my-0 pointer-events-none"></div>
25-
<button class="text-xs"
25+
<button class="text-xs tooltip flex"
26+
aria-label="Copy Argus version to clipboard"
27+
data-tip="Copy version to clipboard"
2628
onclick="navigator.clipboard.writeText('{{ version }}')">
27-
<div class="space-y-2">
29+
<div class="space-y-2 text-left">
2830
<span>Argus version:</span>
2931
<span class="truncate">{{ version }}</span>
3032
</div>

src/argus/htmx/templates/registration/login.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h3>Login with</h3>
2323
</section>
2424
<div class="w-full flex justify-start mt-2">
2525
<button type="button"
26-
class="btn btn-ghost text-s font-normal px-2 py-1 rounded opacity-70 hover:opacity-100 transition flex items-center gap-1"
26+
class="btn btn-ghost btn-sm text-xs font-normal opacity-70 hover:opacity-100 transition flex items-center gap-1"
2727
onclick="navigator.clipboard.writeText('{{ version }}')">
2828
<span>Argus version:</span>
2929
<span class="truncate">{{ version }}</span>

0 commit comments

Comments
 (0)