Skip to content

Commit 2244908

Browse files
committed
2 parents 0e26095 + e21d9e6 commit 2244908

File tree

4 files changed

+31
-24
lines changed

4 files changed

+31
-24
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Nothing yet!
1111

12+
## [0.5.13] - 2024-04-26
13+
14+
### Fixed
15+
16+
- Don't apply margins to `<br>` elements contained in an `<li>` in FF ([#350](https://github.com/tailwindlabs/tailwindcss-typography/pull/350))
17+
1218
## [0.5.12] - 2024-03-27
1319

1420
### Added
@@ -191,7 +197,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
191197

192198
- Everything!
193199

194-
[unreleased]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.12...HEAD
200+
[unreleased]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.13...HEAD
201+
[0.5.13]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.12...v0.5.13
195202
[0.5.12]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.11...v0.5.12
196203
[0.5.11]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.10...v0.5.11
197204
[0.5.10]: https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.9...v0.5.10

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tailwindcss/typography",
3-
"version": "0.5.12",
3+
"version": "0.5.13",
44
"description": "A Tailwind CSS plugin for automatically styling plain HTML content with beautiful typographic defaults.",
55
"main": "src/index.js",
66
"types": "src/index.d.ts",

src/styles.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,16 @@ let defaultModifiers = {
128128
marginTop: em(8, 14),
129129
marginBottom: em(8, 14),
130130
},
131-
'> ul > li > *:first-child': {
131+
'> ul > li > p:first-child': {
132132
marginTop: em(16, 14),
133133
},
134-
'> ul > li > *:last-child': {
134+
'> ul > li > p:last-child': {
135135
marginBottom: em(16, 14),
136136
},
137-
'> ol > li > *:first-child': {
137+
'> ol > li > p:first-child': {
138138
marginTop: em(16, 14),
139139
},
140-
'> ol > li > *:last-child': {
140+
'> ol > li > p:last-child': {
141141
marginBottom: em(16, 14),
142142
},
143143
'ul ul, ul ol, ol ul, ol ol': {
@@ -333,16 +333,16 @@ let defaultModifiers = {
333333
marginTop: em(12, 16),
334334
marginBottom: em(12, 16),
335335
},
336-
'> ul > li > *:first-child': {
336+
'> ul > li > p:first-child': {
337337
marginTop: em(20, 16),
338338
},
339-
'> ul > li > *:last-child': {
339+
'> ul > li > p:last-child': {
340340
marginBottom: em(20, 16),
341341
},
342-
'> ol > li > *:first-child': {
342+
'> ol > li > p:first-child': {
343343
marginTop: em(20, 16),
344344
},
345-
'> ol > li > *:last-child': {
345+
'> ol > li > p:last-child': {
346346
marginBottom: em(20, 16),
347347
},
348348
'ul ul, ul ol, ol ul, ol ol': {
@@ -538,16 +538,16 @@ let defaultModifiers = {
538538
marginTop: em(16, 18),
539539
marginBottom: em(16, 18),
540540
},
541-
'> ul > li > *:first-child': {
541+
'> ul > li > p:first-child': {
542542
marginTop: em(24, 18),
543543
},
544-
'> ul > li > *:last-child': {
544+
'> ul > li > p:last-child': {
545545
marginBottom: em(24, 18),
546546
},
547-
'> ol > li > *:first-child': {
547+
'> ol > li > p:first-child': {
548548
marginTop: em(24, 18),
549549
},
550-
'> ol > li > *:last-child': {
550+
'> ol > li > p:last-child': {
551551
marginBottom: em(24, 18),
552552
},
553553
'ul ul, ul ol, ol ul, ol ol': {
@@ -743,16 +743,16 @@ let defaultModifiers = {
743743
marginTop: em(16, 20),
744744
marginBottom: em(16, 20),
745745
},
746-
'> ul > li > *:first-child': {
746+
'> ul > li > p:first-child': {
747747
marginTop: em(24, 20),
748748
},
749-
'> ul > li > *:last-child': {
749+
'> ul > li > p:last-child': {
750750
marginBottom: em(24, 20),
751751
},
752-
'> ol > li > *:first-child': {
752+
'> ol > li > p:first-child': {
753753
marginTop: em(24, 20),
754754
},
755-
'> ol > li > *:last-child': {
755+
'> ol > li > p:last-child': {
756756
marginBottom: em(24, 20),
757757
},
758758
'ul ul, ul ol, ol ul, ol ol': {
@@ -948,16 +948,16 @@ let defaultModifiers = {
948948
marginTop: em(20, 24),
949949
marginBottom: em(20, 24),
950950
},
951-
'> ul > li > *:first-child': {
951+
'> ul > li > p:first-child': {
952952
marginTop: em(32, 24),
953953
},
954-
'> ul > li > *:last-child': {
954+
'> ul > li > p:last-child': {
955955
marginBottom: em(32, 24),
956956
},
957-
'> ol > li > *:first-child': {
957+
'> ol > li > p:first-child': {
958958
marginTop: em(32, 24),
959959
},
960-
'> ol > li > *:last-child': {
960+
'> ol > li > p:last-child': {
961961
marginBottom: em(32, 24),
962962
},
963963
'ul ul, ul ol, ol ul, ol ol': {

0 commit comments

Comments
 (0)