File tree Expand file tree Collapse file tree 2 files changed +50
-6
lines changed Expand file tree Collapse file tree 2 files changed +50
-6
lines changed Original file line number Diff line number Diff line change 6
6
<main class =" outline-none" tabindex =" 0" >
7
7
<DiffActionBar :diff-navigator =" diffNavigator" />
8
8
<section
9
- class =" flex flex-wrap items-stretch w-full gap-4 font-mono text-gray-800 dark:text-gray-50"
9
+ class ="
10
+ flex flex-wrap
11
+ items-stretch
12
+ w-full
13
+ gap-4
14
+ font-mono
15
+ text-gray-800
16
+ dark:text-gray-50
17
+ "
10
18
>
11
19
<div class =" flex w-full gap-4 space-around" >
12
20
<p
13
- class =" flex-grow-0 flex-shrink-0 w-1/2 text-lg font-bold text-center capitalize break-all "
21
+ class ="
22
+ flex-grow-0 flex-shrink-0
23
+ w-1/2
24
+ text-lg
25
+ font-bold
26
+ text-center
27
+ capitalize
28
+ break-all
29
+ "
14
30
>
15
31
<span class =" inline-block w-4/5" >{{ lhsLabel }}</span >
16
32
</p >
17
33
<p
18
- class =" flex-grow-0 flex-shrink-0 w-1/2 text-lg font-bold text-center capitalize break-all "
34
+ class ="
35
+ flex-grow-0 flex-shrink-0
36
+ w-1/2
37
+ text-lg
38
+ font-bold
39
+ text-center
40
+ capitalize
41
+ break-all
42
+ "
19
43
>
20
44
<span class =" inline-block w-4/5" >{{ rhsLabel }}</span >
21
45
</p >
30
54
</template >
31
55
32
56
<script lang="ts">
33
- import pako from ' pako'
34
57
import loader from ' @monaco-editor/loader'
58
+ import pako from ' pako'
35
59
import Vue from ' vue'
36
60
import {
37
61
getMonacoEditorDefaultOptions ,
@@ -53,6 +77,11 @@ export default Vue.extend({
53
77
diffNavigator: {},
54
78
}
55
79
},
80
+ head() {
81
+ return {
82
+ title: ' Diff Viewer - Diff view' ,
83
+ }
84
+ },
56
85
computed: {
57
86
onThemeChange() {
58
87
const theme = this .$store .state .theme .darkMode ? ' vs-dark' : ' light'
Original file line number Diff line number Diff line change 1
- n
2
1
<template >
3
2
<div class =" page-contents" >
4
3
<Navbar />
57
56
<div class =" self-end flex-grow-0 w-full mt-4 text-center" >
58
57
<button
59
58
id =" submitButton"
60
- class =" inline-flex items-center justify-center w-48 px-4 py-2 transition-transform transform bg-blue-600 rounded-md shadow-lg outline-none text-gray-50 focus:ring-4 active:scale-y-75"
59
+ class ="
60
+ inline-flex
61
+ items-center
62
+ justify-center
63
+ w-48
64
+ px-4
65
+ py-2
66
+ transition-transform
67
+ transform
68
+ bg-blue-600
69
+ rounded-md
70
+ shadow-lg
71
+ outline-none
72
+ text-gray-50
73
+ focus:ring-4
74
+ active:scale-y-75
75
+ "
61
76
aria-label =" Click here to compare the inputted text blocks"
62
77
>
63
78
Compare
You can’t perform that action at this time.
0 commit comments