summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorSamantha Ming <sming@gitlab.com>2019-08-20 20:18:06 +0000
committerMike Greiling <mike@pixelcog.com>2019-08-20 20:18:06 +0000
commit6f00586e4c366e7a7a4760a7e3e8bcdce5c17a94 (patch)
treecbf255c116de3a674d2a4ee1cba9816e0fe354bf /app/assets/javascripts
parent453118081c196bd2909e3b2192fcd71af7c148db (diff)
downloadgitlab-ce-6f00586e4c366e7a7a4760a7e3e8bcdce5c17a94.tar.gz
Add syntax highlighting for line expansion
- dark - white - monokai - none - solarized-dark - solarized-light
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/diffs/components/diff_expansion_cell.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/diffs/components/diff_expansion_cell.vue b/app/assets/javascripts/diffs/components/diff_expansion_cell.vue
index 43edc116ed1..839ab542377 100644
--- a/app/assets/javascripts/diffs/components/diff_expansion_cell.vue
+++ b/app/assets/javascripts/diffs/components/diff_expansion_cell.vue
@@ -212,12 +212,12 @@ export default {
</script>
<template>
- <td :colspan="colspan">
+ <td :colspan="colspan" class="text-center">
<div class="content js-line-expansion-content">
<a
v-if="canExpandUp"
v-tooltip
- class="cursor-pointer js-unfold unfold-icon"
+ class="cursor-pointer js-unfold unfold-icon d-inline-block pt-2 pb-2"
data-placement="top"
data-container="body"
:title="__('Expand up')"
@@ -231,7 +231,7 @@ export default {
<a
v-if="canExpandDown"
v-tooltip
- class="cursor-pointer js-unfold-down has-tooltip unfold-icon"
+ class="cursor-pointer js-unfold-down has-tooltip unfold-icon d-inline-block pt-2 pb-2"
data-placement="top"
data-container="body"
:title="__('Expand down')"