UX: Wrap pre element.

UX: Wrap pre element.
From 0c88052641d5e5e4777a2e63428d4280670d44ce Mon Sep 17 00:00:00 2001
From: Bianca Nenciu <nenciu.bianca@gmail.com>
Date: Tue, 4 Dec 2018 23:00:38 +0200
Subject: [PATCH] UX: Wrap pre element.


diff --git a/app/assets/javascripts/admin/templates/email-advanced-test.hbs b/app/assets/javascripts/admin/templates/email-advanced-test.hbs
index 4a30060..c0b8ee7 100644
--- a/app/assets/javascripts/admin/templates/email-advanced-test.hbs
+++ b/app/assets/javascripts/admin/templates/email-advanced-test.hbs
@@ -12,13 +12,13 @@
   <hr/>
   <div class="text">
     <h3>{{i18n 'admin.email.advanced_test.text'}}</h3>
-    <pre>{{{text}}}</pre>
+    <pre class="full-reason">{{{text}}}</pre>
   </div>
 
   <hr/>
   <div class="elided">
     <h3>{{i18n 'admin.email.advanced_test.elided'}}</h3>
-    <pre>{{{elided}}}</pre>
+    <pre class="full-reason">{{{elided}}}</pre>
   </div>
 {{/if}}

GitHub

1 Like