Skip to content
This repository was archived by the owner on Aug 17, 2020. It is now read-only.

Commit 4ec0c07

Browse files
committed
v1.0.2
1 parent 1222e08 commit 4ec0c07

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.2
2+
3+
* Fix missing scrollbar width on simple breakpoint setup
4+
15
## 1.0.1
26

37
* Simpler getter setup

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-provide-responsive",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Responsive design plugin for Vue using Provide\\Inject",
55
"main": "dist/index.js",
66
"module": "dist/index.es.js",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const install = (Vue: any, {
3434
value = breakpoint.value;
3535
if (!ignoreScrollbar) value -= scrollbarWidth;
3636
} else {
37-
value = breakpoint;
37+
value = breakpoint - scrollbarWidth;
3838
}
3939
Object.defineProperty(acc, name, {
4040
configurable: true,

0 commit comments

Comments
 (0)