Skip to content

Commit

Permalink
Update search & theme picker buttons padding (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
novanai authored Apr 10, 2024
1 parent e02f962 commit d6ad52e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/_includes/global/header.njk
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{# Search #}
<is-land>
<template data-island="replace">
<button class="btn btn-ghost" onclick="searchModal.showModal()">
<button class="btn btn-ghost px-0 sm:px-2 lg:px-4" onclick="searchModal.showModal()">
<svg class="stroke-current text-base-content" width="20" height="20" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path></svg>
</button>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/global/theme-picker.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
] %}

<div title="Change theme" class="dropdown dropdown-bottom">
<div tabindex="0" role="button" class="btn btn-ghost">
<div tabindex="0" role="button" class="btn btn-ghost px-0 sm:px-2 lg:px-4">
<svg class="h-5 w-5 stroke-current" width="20" height="20" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"></path></svg>
<svg class="h-2 w-2 fill-current opacity-60 hidden sm:inline-block" width="12px" height="12px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048"><path d="M1799 349l242 241-1017 1017L7 590l242-241 775 775 775-775z"></path></svg>
</div>
Expand Down

0 comments on commit d6ad52e

Please sign in to comment.