refactor: 💡 use Hds::Text::Code in place of pre tag (#2802)

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16956
This commit is contained in:
Cameron Perera authored and GitHub committed 2025-04-29 09:24:24 -05:00
1 parent 620f822504
commit 24d86a230a
1 file changed
+4 -1
@@ -14,7 +14,10 @@
<div class='secret-content'>
{{#if this.isHidden}}
<pre>{{this.displaySecretValue}}</pre>
<Hds::Text::Code
@tag='pre'
@size='300'
>{{this.displaySecretValue}}</Hds::Text::Code>
{{else}}
<Hds::Text::Body @color='disabled'>{{this.textMask}}</Hds::Text::Body>
{{/if}}