Skip to content

Commit 327e6d3

Browse files
committed
Update tests, docs, and remove margin reset from list-reset
1 parent 209acd8 commit 327e6d3

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

__tests__/fixtures/tailwind-output.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,11 @@ fieldset {
508508
padding: 0;
509509
}
510510

511+
ol,
512+
ul {
513+
margin: 0;
514+
}
515+
511516
/**
512517
* Suppress the focus outline on elements that cannot be accessed via keyboard.
513518
* This prevents an unwanted focus outline from appearing around elements that
@@ -603,7 +608,6 @@ button,
603608

604609
.list-reset {
605610
list-style: none;
606-
margin: 0;
607611
padding: 0;
608612
}
609613

@@ -4447,7 +4451,6 @@ button,
44474451
@media (min-width: 576px) {
44484452
.sm\:list-reset {
44494453
list-style: none;
4450-
margin: 0;
44514454
padding: 0;
44524455
}
44534456

@@ -8292,7 +8295,6 @@ button,
82928295
@media (min-width: 768px) {
82938296
.md\:list-reset {
82948297
list-style: none;
8295-
margin: 0;
82968298
padding: 0;
82978299
}
82988300

@@ -12137,7 +12139,6 @@ button,
1213712139
@media (min-width: 992px) {
1213812140
.lg\:list-reset {
1213912141
list-style: none;
12140-
margin: 0;
1214112142
padding: 0;
1214212143
}
1214312144

@@ -15982,7 +15983,6 @@ button,
1598215983
@media (min-width: 1200px) {
1598315984
.xl\:list-reset {
1598415985
list-style: none;
15985-
margin: 0;
1598615986
padding: 0;
1598715987
}
1598815988

docs/source/docs/lists.blade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ features:
1515
'rows' => [
1616
[
1717
'.list-reset',
18-
"list-style: none;\nmargin: 0;\npadding: 0;",
18+
"list-style: none;\npadding: 0;",
1919
"Disable default browser styling for lists and list items.",
2020
],
2121
]

src/generators/lists.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ export default function() {
44
return defineClasses({
55
'list-reset': {
66
'list-style': 'none',
7-
margin: '0',
87
padding: '0',
98
},
109
})

0 commit comments

Comments
 (0)