Commit c3987518 authored by Eric Eastwood's avatar Eric Eastwood Committed by Sean McGivern

Update spacing for checkbox and panel

@hazelyang metrics,
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1519#note_26863100
parent e6776fea
...@@ -42,6 +42,7 @@ export default { ...@@ -42,6 +42,7 @@ export default {
}, },
template: ` template: `
<div>
<div class="checkbox"> <div class="checkbox">
<label for="project_service_desk_enabled"> <label for="project_service_desk_enabled">
<input <input
...@@ -55,9 +56,10 @@ export default { ...@@ -55,9 +56,10 @@ export default {
Activate service desk Activate service desk
</span> </span>
</label> </label>
</div>
<template v-if="isActivated"> <template v-if="isActivated">
<div <div
class="panel panel-default"> class="panel-slim panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"> <h3 class="panel-title">
Forward external support email address to: Forward external support email address to:
......
.panel { @mixin panel {
margin-bottom: $gl-padding;
.panel-heading { .panel-heading {
padding: $gl-vert-padding $gl-padding; padding: $gl-vert-padding $gl-padding;
line-height: 36px; line-height: 36px;
...@@ -48,3 +46,14 @@ ...@@ -48,3 +46,14 @@
line-height: inherit; line-height: inherit;
} }
} }
.panel {
@include panel;
margin-bottom: $gl-padding;
}
.panel-slim {
@extend .panel;
@include panel;
margin-bottom: $gl-vert-padding;
}
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