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
This commit is contained in:
parent
f9378bad06
commit
fe8ff714d5
3 changed files with 9 additions and 2 deletions
|
@ -23,4 +23,9 @@
|
||||||
margin-top: $gl-padding;
|
margin-top: $gl-padding;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panel-title {
|
||||||
|
font-size: inherit;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
.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
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
= 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
|
||||||
|
|
Loading…
Reference in a new issue