提交 b8d9b2a2 编写于 作者: J Jacob Schatz

Remove editable border because it doesn't look right anymore.

上级 33c058e3
......@@ -14,10 +14,6 @@ const RepoFileButtons = {
return this.binary ? 'Download' : 'Raw';
},
editableBorder() {
return this.editMode ? '1px solid rgb(31, 120, 209)' : '1px solid rgb(240,240,240)';
},
canPreview() {
return Helper.isKindaBinary();
},
......@@ -32,7 +28,7 @@ export default RepoFileButtons;
</script>
<template>
<div id="repo-file-buttons" v-if="isMini" :style="{'border-bottom': editableBorder}">
<div id="repo-file-buttons" v-if="isMini">
<a :href="activeFile.raw_path" target="_blank" class="btn btn-default raw">{{rawDownloadButtonLabel}}</a>
<div class="btn-group" role="group" aria-label="File actions">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册