diff --git a/module/doc/css/tablecontents.css b/module/doc/css/tablecontents.css index 4a7a33aa08..66b04c5cfe 100644 --- a/module/doc/css/tablecontents.css +++ b/module/doc/css/tablecontents.css @@ -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;} diff --git a/module/doc/view/mydoclist.html.php b/module/doc/view/mydoclist.html.php index 6b8afcde95..66bea5d08f 100644 --- a/module/doc/view/mydoclist.html.php +++ b/module/doc/view/mydoclist.html.php @@ -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;} diff --git a/module/my/css/doc.css b/module/my/css/doc.css index 22d5b6f611..845339aa41 100644 --- a/module/my/css/doc.css +++ b/module/my/css/doc.css @@ -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;} diff --git a/module/my/view/doc.html.php b/module/my/view/doc.html.php index 3d7d676a4d..bc6b36c393 100644 --- a/module/my/view/doc.html.php +++ b/module/my/view/doc.html.php @@ -58,7 +58,7 @@ collector, ',' . $this->app->user->account . ',') !== false ? $lang->doc->cancelCollection : $lang->doc->collect;?>