From 4e6579d94a9f7e3cc96a3fca9403712746517ec9 Mon Sep 17 00:00:00 2001 From: BingoKingo Date: Sat, 2 May 2020 16:58:23 +0800 Subject: [PATCH] re --- theme/tfo_md.php | 2 ++ theme/tfo_mdtr.php | 2 ++ theme/tfo_mdtr_baw.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/theme/tfo_md.php b/theme/tfo_md.php index 616dddc..351ed9f 100644 --- a/theme/tfo_md.php +++ b/theme/tfo_md.php @@ -890,6 +890,7 @@ echo ''; var tr1=document.createElement('tr'); table1.appendChild(tr1); tr1.setAttribute('data-to',1); + tr1.setAttribute('style','height:fit-content'); var td1=document.createElement('td'); tr1.appendChild(td1); td1.setAttribute('style','width:24%'); @@ -898,6 +899,7 @@ echo ''; var td2=document.createElement('td'); tr1.appendChild(td2); td2.setAttribute('id','upfile_td2_'+timea+'_'+i); + td2.setAttribute('style','text-overflow:ellipsis'); td2.setAttribute('style','width:71%'); td2.setAttribute('style','white-space:nowrap'); td2.innerHTML=' ...'; diff --git a/theme/tfo_mdtr.php b/theme/tfo_mdtr.php index a866013..ee10048 100644 --- a/theme/tfo_mdtr.php +++ b/theme/tfo_mdtr.php @@ -890,6 +890,7 @@ echo ''; var tr1=document.createElement('tr'); table1.appendChild(tr1); tr1.setAttribute('data-to',1); + tr1.setAttribute('style','height:fit-content'); var td1=document.createElement('td'); tr1.appendChild(td1); td1.setAttribute('style','width:24%'); @@ -898,6 +899,7 @@ echo ''; var td2=document.createElement('td'); tr1.appendChild(td2); td2.setAttribute('id','upfile_td2_'+timea+'_'+i); + td2.setAttribute('style','text-overflow:ellipsis'); td2.setAttribute('style','width:71%'); td2.setAttribute('style','white-space:nowrap'); td2.innerHTML=' ...'; diff --git a/theme/tfo_mdtr_baw.php b/theme/tfo_mdtr_baw.php index 0b80870..41c1c37 100644 --- a/theme/tfo_mdtr_baw.php +++ b/theme/tfo_mdtr_baw.php @@ -890,6 +890,7 @@ echo ''; var tr1=document.createElement('tr'); table1.appendChild(tr1); tr1.setAttribute('data-to',1); + tr1.setAttribute('style','height:fit-content'); var td1=document.createElement('td'); tr1.appendChild(td1); td1.setAttribute('style','width:24%'); @@ -898,6 +899,7 @@ echo ''; var td2=document.createElement('td'); tr1.appendChild(td2); td2.setAttribute('id','upfile_td2_'+timea+'_'+i); + td2.setAttribute('style','text-overflow:ellipsis'); td2.setAttribute('style','width:71%'); td2.setAttribute('style','white-space:nowrap'); td2.innerHTML=' ...';