diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 044d913..d1aed7c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,9 +8,10 @@ jobs: runs-on: ubuntu-latest if: ${{ contains(github.event.head_commit.message, '[publish]') }} steps: - - uses: actions/checkout@v2 - - uses: xhyrom/setup-bun@v0.1.7 - - run: rm -rf ~/.bun/install/cache + - uses: actions/checkout@v3 + - uses: xhyrom/setup-bun@v0.1.8 + with: + bun-version: "0.2.1" - run: bun install - run: bun ci - uses: ArnaudBarre/npm-publish@v1.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 61d0f40..3d39ebe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.1 + +Fix tooltip position for elements on the right side of the screen + ## 1.0.0 Initial release diff --git a/package.json b/package.json index 5553056..4ce1f0c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-react-click-to-component", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "scripts": { "dev": "scripts/bundle.ts --dev", diff --git a/playground/src/App.css b/playground/src/App.css index 2c5e2ef..d201663 100644 --- a/playground/src/App.css +++ b/playground/src/App.css @@ -39,3 +39,12 @@ .read-the-docs { color: #888; } + +.full-height { + position: fixed; + top: 20px; + bottom: 20px; + left: 40px; + display: flex; + align-items: center; +} diff --git a/playground/src/App.tsx b/playground/src/App.tsx index d9f75a6..841c213 100644 --- a/playground/src/App.tsx +++ b/playground/src/App.tsx @@ -7,6 +7,8 @@ export const App = () => { return (