Commit 195aad1f authored by Justin Ho's avatar Justin Ho

Adjust spacing between ActiveToggle and next section

The toggle is a <label> element which is an inline-block so
the parent div has a strange height of 29px even though
the content is only 24px. I am using display: block and
removing the line-height to make sure the parent div is
exactly 24px.

This makes the spacing between this and the next section
correct at 1rem or 16px.
parent f94c28d0
......@@ -38,7 +38,12 @@ export default {
<template>
<div v-if="glFeatures.integrationFormRefactor">
<gl-form-group :label="__('Enable integration')" label-for="service[active]">
<gl-toggle v-model="activated" name="service[active]" @change="onToggle" />
<gl-toggle
v-model="activated"
name="service[active]"
class="gl-display-block gl-line-height-0"
@change="onToggle"
/>
</gl-form-group>
</div>
<div v-else>
......
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