Skip to content

Commit af512af

Browse files
committed
Fix nested list extra margin (picocss/pico#672).
1 parent fb2596a commit af512af

23 files changed

Lines changed: 31 additions & 22 deletions

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ These µCSS rules exist to fix PicoCSS default behaviors:
5353
- `nav a { text-decoration: none }` — Remove underline on all nav links (PicoCSS hover underline)
5454
- `.table-bordered` border uses `color-mix()` blend for visible but lighter cell borders
5555
- Nav/header with `.bg-*` get a gradient via `color-mix(in oklch)` (same as hero)
56+
- `li ul, li ol { margin-bottom: 0 }` — Fix nested list extra margin (picocss/pico#672) — remove when fixed upstream
5657
- `nav details.dropdown { display: inline-block }` — Fix Firefox full-width nav dropdowns (picocss/pico#701) — remove when fixed upstream
5758
- PicoCSS sets `:where(table) { width: 100% }` — all tables are fullwidth by default, no `.table-fullwidth` class needed
5859
- PicoCSS `.outline` button style (3 colors) coexists with µCSS `.btn-outline` (11 colors) — different selectors, no conflict

css/mu.utilities.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
/*
2-
* µCSS Utilities: Positioning
2+
* µCSS Utilities
33
*/
44

5+
/* PicoCSS bugfix: nested lists have unwanted bottom margin (picocss/pico#672) — remove when fixed upstream */
6+
li ul,
7+
li ol {
8+
margin-bottom: 0;
9+
}
10+
11+
/* Positioning */
12+
513
.sticky-top {
614
position: sticky;
715
top: 0;

dist/mu.amber.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mu.azure.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mu.blue.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mu.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mu.cyan.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mu.fuchsia.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mu.green.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mu.grey.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)