Commit 6e927ded authored by Stan Hu's avatar Stan Hu

Merge branch 'ce-to-ee-2018-06-13' into 'master'

CE upstream - 2018-06-13 00:21 UTC

See merge request gitlab-org/gitlab-ee!6106
parents ed1303fb 3b52cccf
...@@ -86,6 +86,7 @@ export default { ...@@ -86,6 +86,7 @@ export default {
<img <img
v-tooltip v-tooltip
class="avatar" class="avatar"
data-boundary="window"
:class="{ :class="{
lazy: lazy, lazy: lazy,
[avatarSizeClass]: true, [avatarSizeClass]: true,
......
...@@ -94,6 +94,7 @@ hr { ...@@ -94,6 +94,7 @@ hr {
} }
.form-group.row .col-form-label { .form-group.row .col-form-label {
padding-top: 0;
// Bootstrap 4 aligns labels to the left // Bootstrap 4 aligns labels to the left
// for horizontal forms // for horizontal forms
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
......
...@@ -268,6 +268,8 @@ ...@@ -268,6 +268,8 @@
.navbar-sub-nav, .navbar-sub-nav,
.navbar-nav { .navbar-nav {
align-items: center;
> li { > li {
> a:hover, > a:hover,
> a:focus { > a:focus {
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
} }
.color-label { .color-label {
padding: $gl-padding-4 $grid-size; padding: 0 $grid-size;
line-height: 16px; line-height: 16px;
border-radius: $label-border-radius; border-radius: $label-border-radius;
color: $white-light; color: $white-light;
...@@ -112,6 +112,10 @@ ...@@ -112,6 +112,10 @@
} }
} }
} }
.color-label {
padding: $gl-padding-4 $grid-size;
}
} }
.prioritized-labels { .prioritized-labels {
......
...@@ -81,6 +81,17 @@ GC.respond_to?(:copy_on_write_friendly=) and ...@@ -81,6 +81,17 @@ GC.respond_to?(:copy_on_write_friendly=) and
# fast LAN. # fast LAN.
check_client_connection false check_client_connection false
before_exec do |server|
# The following is necessary to ensure stale Prometheus metrics don't
# accumulate over time. It needs to be done in this hook as opposed to
# inside an init script to ensure metrics files aren't deleted after new
# unicorn workers start after a SIGUSR2 is received.
if ENV['prometheus_multiproc_dir']
old_metrics = Dir[File.join(ENV['prometheus_multiproc_dir'], '*.db')]
FileUtils.rm_rf(old_metrics)
end
end
before_fork do |server, worker| before_fork do |server, worker|
# the following is highly recommended for Rails + "preload_app true" # the following is highly recommended for Rails + "preload_app true"
# as there's no need for the master process to hold a connection # as there's no need for the master process to hold a connection
......
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