diff --git a/app/views/file/choose_file.php b/app/views/file/choose_file.php index 4cf0e475338ad9522ece88822781515c89383093..c5890e12b3574478584a38f5c526fc0e6ea14dfa 100644 --- a/app/views/file/choose_file.php +++ b/app/views/file/choose_file.php @@ -55,6 +55,10 @@ if (Request::get('to_folder_id')) { <? if ($top_folder): ?> <table class="default"> + <colgroup> + <col style="width: 36px;"> + <col> + </colgroup> <thead> <tr> <th><?= _('Typ') ?></th> diff --git a/app/views/file/choose_folder.php b/app/views/file/choose_folder.php index f76f27ebc50f4527a1a97196058138d0f641e4fe..08da28228da843866248f823ce45fa1c7b9176c2 100644 --- a/app/views/file/choose_folder.php +++ b/app/views/file/choose_folder.php @@ -68,9 +68,13 @@ $buttonLabels = [ <? if ($top_folder) : ?> <table class="default"> + <colgroup> + <col style="width: 36px;"> + <col> + </colgroup> <thead> <tr> - <th width="25px"><?= _('Typ') ?></th> + <th><?= _('Typ') ?></th> <th><?= _('Name') ?></th> </tr> </thead> diff --git a/resources/assets/stylesheets/less/files.less b/resources/assets/stylesheets/less/files.less index 4b7f560b744b10471fc92fe04810a48011eb38a0..48161dfa34de717be545d06c2119d43bb388bc75 100644 --- a/resources/assets/stylesheets/less/files.less +++ b/resources/assets/stylesheets/less/files.less @@ -429,31 +429,9 @@ form.default fieldset.select_terms_of_use { } table.documents { - td, th { - vertical-align: top; - - &:first-child { - padding-left: 8px; - } - } - tr:target { background-color: @activity-color-20; } - - tbody.subfolders tr, tbody.files tr { - height: 43px; - } -} - - -/* -For the file and folder table in the selection dialogs -when adding a file or copying/moving things: -*/ -td.document-icon { - max-width: 40px; - width: 40px; } diff --git a/resources/vue/components/FilesTable.vue b/resources/vue/components/FilesTable.vue index 88abdeca723b8805d8fc1fde58991bb3ff8b7ab0..4420859bcc9451d1cc6bd4dbfb6b01c5b36d9b8a 100644 --- a/resources/vue/components/FilesTable.vue +++ b/resources/vue/components/FilesTable.vue @@ -30,7 +30,7 @@ <colgroup> <col v-if="show_bulk_actions" style="width: 30px"> - <col style="width: 60px"> + <col style="width: 36px"> <col> <col style="width: 100px" class="responsive-hidden"> <col v-if="showdownloads" style="width: 100px" class="responsive-hidden"> @@ -41,7 +41,7 @@ :key="index" data-filter-ignore class="responsive-hidden"> - <col style="width: 80px"> + <col style="width: 64px"> </colgroup> <thead> <tr class="sortable"> @@ -92,7 +92,7 @@ </a> </th> - <th data-sort="false">{{ $gettext('Aktionen') }}</th> + <th class="actions" data-sort="false">{{ $gettext('Aktionen') }}</th> </tr> </thead> <tbody v-if="!hasData">