patx/gitman

Match search and menu icon scale to the notification bell

Commit ac0894b · patx · Nov 3 at 11:05PM

Changeset
ac0894baa6cebc1f7b3f1f4e4107ad9921d48558
Parents
a495d7858702f082f0660affa0a76b9e0c928f12

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/templates/base.tpl b/templates/base.tpl
index 9f7d40e..6c34148 100644
--- a/templates/base.tpl
+++ b/templates/base.tpl
@@ -36,7 +36,7 @@
     <nav class="nav">
       % if user:
         <button class="nav-icons search-toggle" type="button" data-mobile-search-open aria-label="Search repositories" aria-haspopup="dialog" aria-controls="mobile-repo-search">
-          <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="10.5" cy="10.5" r="6.5"/><path d="m16 16 5 5"/></svg>
+          <svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.25" aria-hidden="true"><circle cx="6.5" cy="6.5" r="5.5"/><path d="m10.5 10.5 4.75 4.75"/></svg>
         </button>
         <a class="nav-icons notification-bell" data-notification-bell href="/-/notifications" aria-label="Notifications" title="Notifications">
           <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 16 16" aria-hidden="true">
@@ -46,7 +46,7 @@
         </a>
         <details class="account-menu" data-account-menu>
           <summary class="nav-icons" aria-label="Account menu" title="Account menu">
-            <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M4 6h16M4 12h16M4 18h16"/></svg>
+            <svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.25" aria-hidden="true"><path d="M.5 1h15M.5 8h15M.5 15h15"/></svg>
           </summary>
           <div class="account-menu-links">
             <a href="/{{user['username']}}">View Profile</a>