Skip to content

Commit

Permalink
converter: support for twbs/bootstrap#15074 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Jan 17, 2015
1 parent 7f2e9b2 commit 60de6c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/converter/less_conversion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ def process_stylesheet_assets
when 'forms.less'
file = extract_nested_rule file, 'textarea&'
file = apply_mixin_parent_selector(file, '\.input-(?:sm|lg)')
file = replace_rules file, /\.form-group-(?:sm|lg)/ do |rule|
apply_mixin_parent_selector rule, '.form-control'
end
when 'navbar.less'
file = replace_all file, /(\s*)\.navbar-(right|left)\s*\{\s*@extend\s*\.pull-(right|left);\s*/, "\\1.navbar-\\2 {\\1 float: \\2 !important;\\1"
when 'tables.less'
Expand Down

0 comments on commit 60de6c5

Please sign in to comment.