Commit b8d9b2a2 authored by Jacob Schatz's avatar Jacob Schatz

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

parent 33c058e3
...@@ -14,10 +14,6 @@ const RepoFileButtons = { ...@@ -14,10 +14,6 @@ const RepoFileButtons = {
return this.binary ? 'Download' : 'Raw'; return this.binary ? 'Download' : 'Raw';
}, },
editableBorder() {
return this.editMode ? '1px solid rgb(31, 120, 209)' : '1px solid rgb(240,240,240)';
},
canPreview() { canPreview() {
return Helper.isKindaBinary(); return Helper.isKindaBinary();
}, },
...@@ -32,7 +28,7 @@ export default RepoFileButtons; ...@@ -32,7 +28,7 @@ export default RepoFileButtons;
</script> </script>
<template> <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> <a :href="activeFile.raw_path" target="_blank" class="btn btn-default raw">{{rawDownloadButtonLabel}}</a>
<div class="btn-group" role="group" aria-label="File actions"> <div class="btn-group" role="group" aria-label="File actions">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment