Commit 8c0fd2c4 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'jivanvl-add-white-space-pre-line-runner-instructions' into 'master'

Add CSS rule to prevent excess left margin

See merge request gitlab-org/gitlab!47323
parents 92e95d0e fbb111de
...@@ -179,7 +179,10 @@ export default { ...@@ -179,7 +179,10 @@ export default {
</template> </template>
<template v-if="!instructionsEmpty"> <template v-if="!instructionsEmpty">
<div class="gl-display-flex"> <div class="gl-display-flex">
<pre class="bg-light gl-flex-fill-1" data-testid="binary-instructions"> <pre
class="bg-light gl-flex-fill-1 gl-white-space-pre-line"
data-testid="binary-instructions"
>
{{ instructions.installInstructions }} {{ instructions.installInstructions }}
</pre> </pre>
<gl-button <gl-button
...@@ -196,7 +199,10 @@ export default { ...@@ -196,7 +199,10 @@ export default {
<h5 class="gl-mb-5">{{ $options.i18n.registerRunner }}</h5> <h5 class="gl-mb-5">{{ $options.i18n.registerRunner }}</h5>
<h5 class="gl-mb-5">{{ $options.i18n.method }}</h5> <h5 class="gl-mb-5">{{ $options.i18n.method }}</h5>
<div class="gl-display-flex"> <div class="gl-display-flex">
<pre class="bg-light gl-flex-fill-1" data-testid="runner-instructions"> <pre
class="bg-light gl-flex-fill-1 gl-white-space-pre-line"
data-testid="runner-instructions"
>
{{ instructions.registerInstructions }} {{ instructions.registerInstructions }}
</pre> </pre>
<gl-button <gl-button
......
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