Commit fe8ff714 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Fix .panel-title style

Since .panel-heading is a bit different from bootstrap, using .panel-title for h3 looks different.

So with this .panel-title will look good again inheriting custom properties our app sets for .panel-heading
parent f9378bad
...@@ -23,4 +23,9 @@ ...@@ -23,4 +23,9 @@
margin-top: $gl-padding; margin-top: $gl-padding;
} }
} }
.panel-title {
font-size: inherit;
line-height: inherit;
}
} }
.panel.panel-default.protected-branches-list .panel.panel-default.protected-branches-list
- if @protected_branches.empty? - if @protected_branches.empty?
.panel-heading .panel-heading
%b Protected branch (#{@protected_branches.size}) %h3.panel-title
Protected branch (#{@protected_branches.size})
%p.settings-message.text-center %p.settings-message.text-center
There are currently no protected branches, protect a branch with the form above. There are currently no protected branches, protect a branch with the form above.
- else - else
......
= form_for [@project.namespace.becomes(Namespace), @project, @protected_branch] do |f| = form_for [@project.namespace.becomes(Namespace), @project, @protected_branch] do |f|
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
%b Protect a branch %h3.panel-title
Protect a branch
.panel-body .panel-body
.form-horizontal .form-horizontal
.form-group .form-group
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment