diff options
Diffstat (limited to 'web_src/js/components/DiffFileTreeItem.vue')
-rw-r--r-- | web_src/js/components/DiffFileTreeItem.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web_src/js/components/DiffFileTreeItem.vue b/web_src/js/components/DiffFileTreeItem.vue index 40d56b2262..245286dded 100644 --- a/web_src/js/components/DiffFileTreeItem.vue +++ b/web_src/js/components/DiffFileTreeItem.vue @@ -1,6 +1,6 @@ <template> <div v-show="show"> - <div class="item" :class="item.isFile ? 'filewrapper p-1' : ''"> + <div class="item" :class="item.isFile ? 'filewrapper gt-p-1' : ''"> <!-- Files --> <SvgIcon v-if="item.isFile" @@ -10,7 +10,7 @@ /> <a v-if="item.isFile" - class="file ellipsis muted" + class="file gt-ellipsis muted" :href="item.isFile ? '#diff-' + item.file.NameHash : ''" >{{ item.name }}</a> <SvgIcon @@ -21,7 +21,7 @@ /> <!-- Directories --> - <div v-if="!item.isFile" class="directory p-1" @click.stop="handleClick(item.isFile)"> + <div v-if="!item.isFile" class="directory gt-p-1" @click.stop="handleClick(item.isFile)"> <SvgIcon class="svg-icon" :name="collapsed ? 'octicon-chevron-right' : 'octicon-chevron-down'" @@ -30,7 +30,7 @@ class="svg-icon directory" name="octicon-file-directory-fill" /> - <span class="ellipsis">{{ item.name }}</span> + <span class="gt-ellipsis">{{ item.name }}</span> </div> <div v-show="!collapsed"> <DiffFileTreeItem v-for="childItem in item.children" :key="childItem.name" :item="childItem" class="list" /> |