try as best we can to keep the directory table (cloud list mode) inside the containing div. It looks pretty bad when you have a long filename.

This commit is contained in:
zotlabs 2017-12-11 15:47:54 -08:00
parent 4859e6e11a
commit 4d7acdd44d
2 changed files with 14 additions and 5 deletions

View File

@ -1759,3 +1759,12 @@ dl.bb-dl > dd > li {
overflow: hidden;
}
#cloud-index {
width: 100%;
table-layout: fixed;
}
#cloud-index td {
width: auto;
overflow: hidden;
}

View File

@ -39,12 +39,12 @@
{{else}}
<table id="cloud-index">
<tr>
<th width="1%"></th>
<th width="92%">{{$name}}</th>
<th width="1%"></th><th width="1%"></th><th width="1%"></th><th width="1%"></th>
<th width="4%"></th>
<th width="47%">{{$name}}</th>
<th width="4%"></th><th width="4%"></th><th width="4%"></th><th width="4%"></th>
<th width="1%">{{*{{$type}}*}}</th>
<th width="1%" class="d-none d-md-table-cell">{{$size}}</th>
<th width="1%" class="d-none d-md-table-cell">{{$lastmod}}</th>
<th width="10%" class="d-none d-md-table-cell">{{$size}}</th>
<th width="22%" class="d-none d-md-table-cell">{{$lastmod}}</th>
</tr>
{{if $parentpath}}
<tr>