Skip to content

Commit

Permalink
refactor: Remove the odd Craft modifiedAttributes styling when a fi…
Browse files Browse the repository at this point in the history
…eld value is changed ([#12403](craftcms/cms#12403))
  • Loading branch information
khalwat committed Nov 30, 2022
1 parent da1cf1e commit 81f736e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/templates/_components/fields/Code_input.twig
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@
singleLineEditor: field.singleLineEditor,
} %}
{% if displayLanguages | length %}
<fieldset>
<fieldset class="code-field-fields">
<style>
fieldset.code-field-fields .status-badge {
display: none;
}
</style>
{% endif %}
{% if field.singleLineEditor %}
{{ codeEditor.textField(config, "CodeEditor", monacoOptions, codeEditorOptions) }}
Expand Down

0 comments on commit 81f736e

Please sign in to comment.