From dcde393ae2c03e7d31d3659111b8644e1979a5e0 Mon Sep 17 00:00:00 2001
From: Benjamin Bertrand <benjamin.bertrand@esss.se>
Date: Tue, 17 Jul 2018 10:01:21 +0200
Subject: [PATCH] Wrap long lines in Ansible group vars

---
 app/static/js/groups.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/static/js/groups.js b/app/static/js/groups.js
index ae2007b..3695cf4 100644
--- a/app/static/js/groups.js
+++ b/app/static/js/groups.js
@@ -33,7 +33,7 @@ $(document).ready(function() {
           if ( data === null ) {
             return "";
           }
-          return '<pre>' + JSON.stringify(data, null, 2) + '</pre>';
+          return '<pre style="white-space: pre-wrap">' + JSON.stringify(data, null, 2) + '</pre>';
         }
       },
       { data: 'hosts' }
-- 
GitLab