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,22 +42,24 @@ export default {
},
template: `
<div class="checkbox">
<label for="project_service_desk_enabled">
<input
type="checkbox"
value="1"
name="project[service_desk_enabled]"
id="project_service_desk_enabled"
:checked="isActivated"
@change="onCheckboxToggle($event)">
<span class="descr">
Activate service desk
</span>
</label>
<div>
<div class="checkbox">
<label for="project_service_desk_enabled">
<input
type="checkbox"
value="1"
name="project[service_desk_enabled]"
id="project_service_desk_enabled"
:checked="isActivated"
@change="onCheckboxToggle($event)">
<span class="descr">
Activate service desk
</span>
</label>
</div>
<template v-if="isActivated">
<div
class="panel panel-default">
class="panel-slim panel-default">
<div class="panel-heading">
<h3 class="panel-title">
Forward external support email address to:
......
.panel {
margin-bottom: $gl-padding;
@mixin panel {
.panel-heading {
padding: $gl-vert-padding $gl-padding;
line-height: 36px;
......@@ -48,3 +46,14 @@
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