Skip to content

Commit d1792e6

Browse files
committed
use admonition
1 parent b13de46 commit d1792e6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

hugo_stats.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"flex-col-reverse",
296296
"flex-grow",
297297
"flex-none",
298+
"flex-row",
298299
"flex-shrink",
299300
"flex-shrink-0",
300301
"flex-wrap",
@@ -369,6 +370,7 @@
369370
"invertible",
370371
"italic",
371372
"items-center",
373+
"items-left",
372374
"items-start",
373375
"items-stretch",
374376
"justify-between",
@@ -525,6 +527,7 @@
525527
"rounded",
526528
"rounded-full",
527529
"rounded-sm",
530+
"row-auto",
528531
"scale-50",
529532
"scale-75",
530533
"scroll-mt-2",
@@ -593,6 +596,7 @@
593596
"transition-transform",
594597
"truncate",
595598
"underline-offset-2",
599+
"w-0",
596600
"w-2",
597601
"w-32",
598602
"w-5",

layouts/_default/search.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ <h1 class="py-4">{{ .Title }}</h1>
1111
<input type="search" id="search-page-input"
1212
class="ring-3-gray-light-200 dark:ring-3-gray-dark-400 dark:bg-background-dark focus:ring-3-blue-light dark:focus:ring-3-blue-dark ring-3-[1.5px] w-full max-w-xl min-w-0 rounded-sm bg-white px-4 py-2 outline-hidden"
1313
placeholder="Search…" tabindex="0" />
14-
<div class="flex min-w-fit flex-grow flex-col items-center">
15-
<p class="mb-1">Not finding what you're looking for? Try</p>
14+
<div class="admonition flex flex-row min-w-fit items-center w-0 gap-1">
15+
<p>Not finding what you're looking for? Try</p>
1616
<button onclick="askAI('search-page-input')" class="topbar-button bg-blue-400/95 border-blue-300 hover:bg-blue-400/90">
1717
<span>Ask&nbsp;AI</span>
1818
<span class="icon-svg">

0 commit comments

Comments
 (0)