Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
First li in ul.links should have 0 padding on the left.
Comment | File | Size | Author |
---|---|---|---|
#2 | bootstrap-left-padding-first-li-list-inline-2115941-1.patch | 368 bytes | el7cosmos |
#1 | bootstrap-left-padding-first-li-list-inline-2115941-1.patch | 368 bytes | el7cosmos |
Screen Shot 2013-10-18 at 11.52.57.png | 36.57 KB | tripox |
Comments
Comment #1
el7cosmosIt set by bootstrap in
type.less
If necessary, it should be done in
override.less
Comment #2
el7cosmosComment #3
markhalliwellThanks @el7cosmos!
Committed 7757ef6 to 7.x-3.x:
Comment #5
danillonunes CreditAttribution: danillonunes commentedThis is plain wrong. Bootstrap already do a
margin-left: -5px;
on.list-inline
so the effect is as there’s 0 padding left on first item. This patch basically breaks the default behaviour. I suggest to revert it.Comment #6
danillonunes CreditAttribution: danillonunes commentedComment #7
markhalliwellAt the time (3.0.0) it probably made sense, no doubt this probably isn't compatible with 3.1.1 anymore though :-/
Comment #9
markhalliwell