Skip to content

Commit ce84db3

Browse files
committed
Dandy up the AI button
1 parent 9cc51fc commit ce84db3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

layouts/partials/search-modal.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
<path d="M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" />
2424
</svg>
2525
</button>
26-
<button id="ai-copilot-toggle" type="button" style="height: calc(3rem - 2px);" class="px-3 border border-redis-pen-800 rounded-md bg-white hover:bg-redis-yellow-100 transition-colors flex items-center gap-2" title="Switch to AI chat">
27-
<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
26+
<button id="ai-copilot-toggle" type="button" style="height: calc(3rem - 2px);" class="group px-3 border border-redis-pen-800 rounded-md bg-white flex items-center gap-2" title="Switch to AI chat">
27+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
2828
<!-- Larger plus in top left -->
29-
<path d="M3 2h2v2h2v2h-2v2h-2v-2h-2v-2h2v-2z"/>
29+
<path class="transform origin-center transition-transform duration-300 group-hover:scale-50" d="M3 2h2v2h2v2h-2v2h-2v-2h-2v-2h2v-2z" fill="#FF4438"/>
3030
<!-- Smaller plus in bottom right -->
31-
<path d="M11 9h1v1h1v1h-1v1h-1v-1h-1v-1h1v-1z"/>
31+
<path class="transform origin-center transition-transform duration-300 group-hover:scale-150" d="M11 9h1v1h1v1h-1v1h-1v-1h-1v-1h1v-1z" fill="#FF4438"/>
3232
</svg>
3333
<span class="text-sm">AI</span>
3434
</button>

0 commit comments

Comments
 (0)