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

Commit 844490a

Browse files
chore(release): 1.0.1 [skip ci]
### [1.0.1](v1.0.0...v1.0.1) (2021-01-20) ### Bug Fixes * set font style ([8d1e62e](8d1e62e))
1 parent 277f5d2 commit 844490a

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=1200">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>Vue Diff</title>
77
<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">
8+
<meta name="google-site-verification" content="u7XrdGhKnDkPIIw867fVSCqMet0sjBwyu5aYpy8stuQ" />
9+
<script type="module" crossorigin src="/vue-diff/demo/index.a359d696.js"></script>
10+
<link rel="stylesheet" href="/vue-diff/demo/index.8ed44de4.css">
1011
</head>
1112
<body class="bg-gray-900">
1213
<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)