mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-18 12:39:41 +03:00
Properly unstyle the .list-unstyled class by switching from margin to padding
Also add better comments
This commit is contained in:
Vendored
+2
-2
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user