Skip to content

Commit

Permalink
fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
clementroche committed Jul 26, 2024
1 parent 59dae2f commit bd4f2c8
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import Lenis from 'lenis'
using scripts:

```html
<script src="https://unpkg.com/lenis@1.1.5/dist/lenis.min.js"></script>
<script src="https://unpkg.com/lenis@1.1.7/dist/lenis.min.js"></script>
```


Expand Down Expand Up @@ -97,7 +97,7 @@ html.lenis, html.lenis body {
or link the CSS file:

```html
<link rel="stylesheet" href="https://unpkg.com/lenis@1.1.5/dist/lenis.css">
<link rel="stylesheet" href="https://unpkg.com/lenis@1.1.7/dist/lenis.css">
```

or import it:
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion dist/lenis.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lenis.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lenis.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "lenis",
"scripts": {
"build": "rollup --bundleConfigAsCjs -c",
"postbuild": "shx rm -rf ./dist/types/ && shx cp -r ./src/style.css ./dist && shx cp -r ./dist/* ../../dist",
"postbuild": "shx rm -rf ./dist/* && shx cp -r ./src/lenis.css ./dist && shx cp -r ./dist/* ../../dist",
"dev": "npm-run-all --parallel watch playground",
"watch": "rollup --bundleConfigAsCjs -c -w",
"playground": "npm run dev --prefix ./playground"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scripts": {
"build": "rollup --bundleConfigAsCjs -c",
"postbuild": "shx rm -rf ./dist/types/ && shx cp -r ./dist/* ../../dist",
"postbuild": "shx rm -rf ./dist/* && shx cp -r ./dist/* ../../dist",
"dev": "npm-run-all --parallel watch playground",
"watch": "rollup --bundleConfigAsCjs -c -w",
"playground": "npm run dev --prefix ./playground"
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "snap",
"scripts": {
"build": "rollup --bundleConfigAsCjs -c",
"postbuild": "shx rm -rf ./dist/types/ && shx cp -r ./dist/* ../../dist",
"postbuild": "shx rm -rf ./dist/* && shx cp -r ./dist/* ../../dist",
"dev": "npm-run-all --parallel watch playground",
"watch": "rollup --bundleConfigAsCjs -c -w",
"playground": "npm run dev --prefix ./playground"
Expand Down
2 changes: 1 addition & 1 deletion update-readme.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function updateVersion() {
return reject(err)
}

const updatedReadme = data.replace(
const updatedReadme = data.replaceAll(
/\/lenis@([^\/]+)\//,
`/lenis@${packageJson.version}/`
)
Expand Down

0 comments on commit bd4f2c8

Please sign in to comment.