Skip to content
Snippets Groups Projects
Commit caa1f1e6 authored by Florie Guibert's avatar Florie Guibert :cyclone:
Browse files

Merge branch 'update-yaml-preview-design' into 'master'

Update yaml preview design on policy editor

See merge request !91835
parents 6e682720 43e37af4
No related branches found
No related tags found
1 merge request!91835Update yaml preview design on policy editor
Pipeline #583025921 failed
......@@ -234,17 +234,16 @@ export default {
</section>
<section
v-if="shouldShowRuleEditor"
class="gl-md-w-50p gl-md-max-w-30p gl-p-5 gl-bg-gray-10 gl-ml-11 gl-align-self-start"
class="gl-md-w-50p gl-md-max-w-30p gl-px-5 gl-pb-5 gl-bg-gray-10 gl-ml-11 gl-align-self-start"
data-testid="rule-editor-preview"
>
<h5>{{ $options.i18n.yamlPreview }}</h5>
<pre
data-testid="yaml-preview"
class="gl-border-none gl-p-0"
class="gl-bg-gray-10 gl-border-none gl-p-0"
:class="{ 'gl-opacity-5': hasParsingError }"
>{{ policyYaml || yamlEditorValue }}</pre
>
{{ policyYaml || yamlEditorValue }}
</pre>
</section>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment