This commit is contained in:
tianshujie
2023-04-19 10:31:22 +08:00
parent 32cf3c4d20
commit c17bf269f6
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ span.dotted-line+a {display: block;}
.is-sorting > li ul {display: none!important;}
li.drag-shadow ul {display: none!important;}
.table .c-name > .doc-title {display: inline-block; overflow: hidden; background: transparent; padding-right:0px;}
.table .c-name > .doc-title {display: inline-block; overflow: hidden; background: transparent; padding-right:0px; max-width: calc(100% - 40px);}
.table .c-name > span.doc-title {line-height: 0; vertical-align: inherit;}
.table .c-name[data-status=draft] > .doc-title {max-width: calc(100% - 80px);}
.table .c-name > .draft {background-color:rgba(129, 102, 238, 0.12); color:#8166EE;}
+1 -1
View File
@@ -17,7 +17,7 @@ body {margin-bottom: 25px;}
#docListForm th.c-actions {width: 84px; padding-left: 15px;}
#docListForm .c-module, #docListForm .c-object {width: 120px; overflow: hidden; white-space: nowrap; text-overflow: clip;}
#docListForm .c-object {width: 180px;}
#docListForm .table .c-name > .doc-title {display: inline-block; overflow: hidden; background: transparent; padding-right:0px;}
#docListForm .table .c-name > .doc-title {display: inline-block; overflow: hidden; background: transparent; padding-right:0px; max-width: calc(100% - 40px);}
#docListForm .table .c-name > span.doc-title {line-height: 0; vertical-align: inherit;}
#docListForm .table .c-name[data-status=draft] > .doc-title {max-width: calc(100% - 80px);}
#docListForm .table .c-name > .draft {background-color:rgba(129, 102, 238, 0.12); color:#8166EE;}
+2 -1
View File
@@ -5,7 +5,8 @@ body {margin-bottom: 25px;}
#docList th.c-user {width: 80px;}
#docList th.c-actions {width: 84px; padding-left: 15px;}
#docList .c-object {width: 180px; overflow: hidden; white-space: nowrap; text-overflow: clip;}
#docList.table .c-name > .doc-title {display: inline-block; max-width: calc(100% - 80px); overflow: hidden; background: transparent; padding-right:0px;}
#docList.table .c-name > .doc-title {display: inline-block; max-width: calc(100% - 40px); overflow: hidden; background: transparent; padding-right:0px;}
#docList.table .c-name[data-status=draft] > .doc-title {max-width: calc(100% - 80px);}
#docList.table .c-name > span.doc-title {line-height: 0; vertical-align: inherit;}
#docList.table .c-name > .draft {background-color:rgba(129, 102, 238, 0.12); color:#8166EE;}
#docList .btn {padding: 0 2px;}
+1 -1
View File
@@ -58,7 +58,7 @@
<?php $collectTitle = strpos($doc->collector, ',' . $this->app->user->account . ',') !== false ? $lang->doc->cancelCollection : $lang->doc->collect;?>
<tr>
<td class="c-id"><?php echo $doc->id;?></td>
<td class="c-name" title='<?php echo $doc->title;?>'>
<td class="c-name" title='<?php echo $doc->title;?>' data-status='<?php echo $doc->status;?>'>
<?php
$docType = $doc->type == 'text' ? 'wiki-file' : $doc->type;
$icon = html::image("static/svg/{$docType}.svg", "class='file-icon'");