Skip to content

Commit 3687a4a

Browse files
Copilotbrunoborges
andcommitted
Fix search modal layout by adding missing CSS classes
Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
1 parent 5b0031a commit 3687a4a

File tree

1 file changed

+47
-3
lines changed

1 file changed

+47
-3
lines changed

site/styles.css

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,13 +1120,24 @@ nav {
11201120
overflow: hidden;
11211121
}
11221122

1123-
.search-input {
1124-
width: 100%;
1123+
.search-input-wrap {
1124+
display: flex;
1125+
align-items: center;
1126+
gap: 12px;
11251127
padding: 16px 20px;
1128+
border-bottom: 1px solid var(--border);
1129+
}
1130+
1131+
.search-input-wrap svg {
1132+
flex-shrink: 0;
1133+
color: var(--text-muted);
1134+
}
1135+
1136+
.search-input {
1137+
flex: 1;
11261138
font-size: 1rem;
11271139
background: transparent;
11281140
border: none;
1129-
border-bottom: 1px solid var(--border);
11301141
color: var(--text);
11311142
outline: none;
11321143
}
@@ -1135,6 +1146,19 @@ nav {
11351146
color: var(--text-muted);
11361147
}
11371148

1149+
.search-esc {
1150+
flex-shrink: 0;
1151+
font-size: 0.7rem;
1152+
font-weight: 600;
1153+
padding: 4px 8px;
1154+
border-radius: 6px;
1155+
border: 1px solid var(--border);
1156+
background: var(--surface-2);
1157+
color: var(--text-muted);
1158+
text-transform: uppercase;
1159+
letter-spacing: 0.05em;
1160+
}
1161+
11381162
.search-results {
11391163
max-height: 400px;
11401164
overflow-y: auto;
@@ -1166,6 +1190,26 @@ nav {
11661190
color: var(--text-muted);
11671191
}
11681192

1193+
.search-footer {
1194+
display: flex;
1195+
align-items: center;
1196+
gap: 16px;
1197+
padding: 10px 16px;
1198+
border-top: 1px solid var(--border);
1199+
font-size: 0.75rem;
1200+
color: var(--text-muted);
1201+
}
1202+
1203+
.search-footer kbd {
1204+
font-family: 'Inter', sans-serif;
1205+
font-size: 0.7rem;
1206+
padding: 2px 6px;
1207+
border-radius: 4px;
1208+
border: 1px solid var(--border);
1209+
background: var(--surface-2);
1210+
color: var(--text-muted);
1211+
}
1212+
11691213
/* ---------- Footer ---------- */
11701214
footer {
11711215
text-align: center;

0 commit comments

Comments
 (0)