Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 8fcb5e5

Browse files
committed
Merge branch 'master' of https://github.com/hoiheart/vue-diff
2 parents e594706 + 2eaa123 commit 8fcb5e5

File tree

6 files changed

+22
-13
lines changed

6 files changed

+22
-13
lines changed

demo/index.c00cf4ae.css renamed to demo/index.8ed44de4.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

demo/index.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=1200">
5+
<meta name="viewport" content="width=1000">
66
<title>Vue Diff</title>
7+
<meta name="description" content="VueJS diff viewer plugin" />
8+
<meta property="og:title" content="Vue Diff" />
9+
<meta property="og:description" content="VueJS diff viewer plugin" />
10+
<meta name="keywords" content="Vue diff, VueJS diff, Vue diff plugin, VueJS diff plugin, Vue diff viewer, VueJS diff viewer, diff viewer" />
711
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
8-
<script type="module" crossorigin src="/vue-diff/demo/index.98e55e99.js"></script>
9-
<link rel="stylesheet" href="/vue-diff/demo/index.c00cf4ae.css">
12+
<meta name="google-site-verification" content="u7XrdGhKnDkPIIw867fVSCqMet0sjBwyu5aYpy8stuQ" />
13+
<script type="module" crossorigin src="/vue-diff/demo/index.a359d696.js"></script>
14+
<link rel="stylesheet" href="/vue-diff/demo/index.8ed44de4.css">
1015
</head>
1116
<body class="bg-gray-900">
1217
<div class="p-12">

dist/index.css

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
115115
.vue-diff-viewer {
116116
overflow: hidden;
117117
width: 100%;
118-
padding: 1em 0; }
118+
padding: 1em 0;
119+
line-height: 1.5; }
119120
.vue-diff-viewer > table {
120121
width: 100%;
121122
table-layout: fixed;
@@ -128,6 +129,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
128129
padding-top: .05em;
129130
text-align: right;
130131
color: #999;
132+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
131133
font-size: 0.9em; }
132134
.vue-diff-viewer > table td pre {
133135
display: block;
@@ -146,12 +148,14 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
146148
word-wrap: break-all;
147149
word-break: break-all;
148150
white-space: pre-wrap; }
149-
.vue-diff-viewer > table td code::before {
150-
display: inline-block;
151-
position: absolute;
152-
left: 0;
153-
top: 0;
154-
opacity: 0.8; }
151+
.vue-diff-viewer > table td code {
152+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",monospace; }
153+
.vue-diff-viewer > table td code::before {
154+
display: inline-block;
155+
position: absolute;
156+
left: 0;
157+
top: 0;
158+
opacity: 0.8; }
155159
.vue-diff-viewer > table td.vue-diff-cell-removed {
156160
background-color: rgba(255, 0, 0, 0.1); }
157161
.vue-diff-viewer > table td.vue-diff-cell-removed span.modified {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-diff",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Vue diff viewer",
55
"license": "ISC",
66
"author": {

0 commit comments

Comments
 (0)