Skip to content

Commit 14d9e3e

Browse files
✨ Add padding and text styling to DocSearch hit source and footer for improved layout
1 parent 073e655 commit 14d9e3e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

resources/css/docsearch.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@
9999
color: var(--color-slate-400);
100100
}
101101

102+
.DocSearch-Hit-source {
103+
@apply py-2.5 text-base;
104+
}
105+
102106
.DocSearch-Dropdown .DocSearch-Hit-source:where(.dark, .dark *) {
103107
background-color: var(--color-slate-950);
104108
color: var(--color-slate-300);
@@ -131,14 +135,18 @@
131135
color: var(--color-slate-300);
132136
}
133137

138+
.DocSearch-Footer {
139+
@apply py-6;
140+
}
141+
134142
.DocSearch-Footer:where(.dark, .dark *) {
135143
background: var(--color-slate-950);
136144
box-shadow: none;
137-
@apply border-t border-t-slate-500;
145+
@apply border-t border-t-slate-700;
138146
}
139147

140148
.DocSearch-Footer .DocSearch-Logo svg :where(.dark, .dark *) {
141-
fill: var(--color-slate-500);
149+
fill: var(--color-gray-500);
142150
color: var(--color-white);
143151
background: transparent;
144152
}

0 commit comments

Comments
 (0)