Explorar o código

[assist] Preserve white space in table sample columns

Johan Ahlen %!s(int64=10) %!d(string=hai) anos
pai
achega
4833882780
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/templates/assist.mako

+ 1 - 1
desktop/core/src/desktop/templates/assist.mako

@@ -296,7 +296,7 @@ from desktop.views import _ko
                 <tr>
                   <td data-bind="text: $index()+1"></td>
                   <!-- ko foreach: $data -->
-                    <td data-bind="text: $data"></td>
+                    <td style="white-space: pre;" data-bind="text: $data"></td>
                   <!-- /ko -->
                 </tr>
               <!-- /ko -->