]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
Ensure the rename input has correct size
authorJohannes Zellner <johannes@cloudron.io>
Sun, 5 Jan 2020 18:52:58 +0000 (19:52 +0100)
committerJohannes Zellner <johannes@cloudron.io>
Sun, 5 Jan 2020 18:52:58 +0000 (19:52 +0100)
frontend/index.html

index 41b474957716cef80e1d03cc5dce2f04fbe85c3c..190589447c502cafb1786d52183e3ddb0a27388c 100644 (file)
           </el-table-column>
           <el-table-column prop="filePath" label="Name" sortable>
             <template slot-scope="scope">
-              <el-input v-on:keyup.native.enter="onRenameSubmit(scope.row)" v-on:keyup.native.esc="onRenameEnd(scope.row)" @blur="onRenameEnd(scope.row)" v-model="scope.row.filePathNew" :id="'filePathRenameInputId-' + scope.$index" v-show="scope.row.rename"></el-input>
+              <el-input size="small" v-on:keyup.native.enter="onRenameSubmit(scope.row)" v-on:keyup.native.esc="onRenameEnd(scope.row)" @blur="onRenameEnd(scope.row)" v-model="scope.row.filePathNew" :id="'filePathRenameInputId-' + scope.$index" v-show="scope.row.rename"></el-input>
               <span v-show="!scope.row.rename">{{ scope.row.filePath }}</span>
               <el-button size="small" icon="el-icon-edit" type="text" plain circle class="rename-action" v-show="!scope.row.rename" @click.stop="onRename(scope.row, scope)"></el-button>
             </template>