Sfoglia il codice sorgente

Do not wrap DNS records in table view

For long DNS records such as DKIM keys, show the full value instead of cutting it off in the table display. This eliminates the unnecessary step of having to enter the Edit dialog to copy/paste the value.
Kristan Kenney 5 anni fa
parent
commit
85c6b706c8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      web/templates/admin/list_dns_rec.html

+ 1 - 1
web/templates/admin/list_dns_rec.html

@@ -96,7 +96,7 @@ v_unit_id="<?=$key?>" v_section="dns_rec">
             <div class="clearfix l-unit__stat-col--left compact text-center"><?=$data[$key]['PRIORITY']?>&nbsp;</div>
             <div class="clearfix l-unit__stat-col--left compact text-center"><?php if($data[$key]['TTL'] == ''){ echo __('Default'); }else{ echo $data[$key]['TTL'];} ?></div>
             <div class="clearfix l-unit__stat-col--left super-compact"><b>&nbsp;</b></div>
-            <div class="clearfix l-unit__stat-col--left wide-6"><?=htmlspecialchars($data[$key]['VALUE'], ENT_QUOTES, 'UTF-8')?></div>
+            <div class="clearfix l-unit__stat-col--left wide-6" style="word-break: break-word;"><?=htmlspecialchars($data[$key]['VALUE'], ENT_QUOTES, 'UTF-8')?></div>
           </div>
         </div>
       <?}?>