Skip to content

Commit cb1d672

Browse files
committed
fix: display:inline->flex in nav
1 parent af87dfc commit cb1d672

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

dev.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,12 @@ header h3 {
246246
}
247247

248248
header nav ul {
249+
display: flex;
250+
list-style: none;
249251
padding: 0;
250252
}
251253

252254
header nav ul li {
253-
display: inline-block;
254255
margin: 0;
255256
}
256257

@@ -264,16 +265,18 @@ footer > *:last-child {
264265
}
265266

266267
footer nav ul {
268+
display: flex;
269+
list-style: none;
267270
padding: 0;
268271
}
269272

270273
footer nav ul li {
271-
display: inline-block;
272274
margin: 0;
273275
}
274276

275277
footer nav ul li:not(:first-child)::before {
276-
content: "• ";
278+
content: "•";
279+
margin: 0 0.25em;
277280
}
278281

279282
main,

0 commit comments

Comments
 (0)