Properly unstyle the .list-unstyled class by switching from margin to padding

Also add better comments
Esse commit está contido em:
Mark Otto
2013-06-17 13:49:22 -07:00
commit 4436e727ed
2 arquivos alterados com 4 adições e 4 exclusões
+2 -2
Ver Arquivo
@@ -516,12 +516,12 @@ ol ul {
}
.list-unstyled {
margin-left: 0;
padding-left: 0;
list-style: none;
}
.list-inline {
margin-left: 0;
padding-left: 0;
list-style: none;
}
+2 -2
Ver Arquivo
@@ -118,9 +118,9 @@ ol ul {
// List options
// Unstyled keeps list items block level, just removes list-style
// Unstyled keeps list items block level, just removes default browser padding and list-style
.list-unstyled {
margin-left: 0;
padding-left: 0;
list-style: none;
}
// Inline turns list items into inline-block