critique 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.1.6
2
+
3
+ - Web preview:
4
+ - Fix horizontal centering using flexbox on body instead of margin auto
5
+
1
6
  # 0.1.5
2
7
 
3
8
  - Web preview:
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "critique",
3
3
  "module": "src/diff.tsx",
4
4
  "type": "module",
5
- "version": "0.1.5",
5
+ "version": "0.1.6",
6
6
  "private": false,
7
7
  "bin": "./src/cli.tsx",
8
8
  "scripts": {
package/src/ansi-html.ts CHANGED
@@ -155,11 +155,14 @@ html, body {
155
155
  font-size: ${fontSize};
156
156
  line-height: 1.6;
157
157
  }
158
+ body {
159
+ display: flex;
160
+ justify-content: center;
161
+ }
158
162
  #content {
159
163
  padding: 16px;
160
164
  overflow-x: auto;
161
165
  max-width: 100vw;
162
- margin: 0 auto;
163
166
  box-sizing: border-box;
164
167
  }
165
168
  .line {