Fixed multi-file editor table cells content width jumping

This commit is contained in:
Phil Hughes 2017-11-07 14:24:46 +00:00
parent dc1e6b4362
commit 3795ce7301
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F
4 changed files with 10 additions and 3 deletions

View file

@ -54,7 +54,10 @@
<tr <tr
class="file" class="file"
@click.prevent="clickedTreeRow(file)"> @click.prevent="clickedTreeRow(file)">
<td :colspan="submoduleColSpan"> <td
class="multi-file-table-col-name"
:colspan="submoduleColSpan"
>
<i <i
class="fa fa-fw file-icon" class="fa fa-fw file-icon"
:class="fileIcon" :class="fileIcon"

View file

@ -19,7 +19,7 @@
class="loading-file" class="loading-file"
aria-label="Loading files" aria-label="Loading files"
> >
<td> <td class="multi-file-table-col-name">
<skeleton-loading-container <skeleton-loading-container
:small="true" :small="true"
/> />

View file

@ -57,7 +57,7 @@ export default {
</strong> </strong>
</th> </th>
<template v-else> <template v-else>
<th class="name"> <th class="name multi-file-table-col-name">
Name Name
</th> </th>
<th class="hidden-sm hidden-xs last-commit"> <th class="hidden-sm hidden-xs last-commit">

View file

@ -298,3 +298,7 @@
width: 100%; width: 100%;
} }
} }
.multi-file-table-col-name {
width: 350px;
}