🌐 AI搜索 & 代理 主页
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

> All notable changes to this project will be documented in this file.

<a name="2.10.1"></a>

## [v2.10.1](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.10.0...v2.10.1)

Released: 2020-04-02

### Bug Fixes v2.10.1

- **b-avatar:** remove default padding when in button mode (fixes
[#5073](https://github.com/bootstrap-vue/bootstrap-vue/issues/5073))
([#5076](https://github.com/bootstrap-vue/bootstrap-vue/issues/5076))
([26377b3](https://github.com/bootstrap-vue/bootstrap-vue/commit/26377b3479f323baa2d702fab7f5200949ed680d))
- **b-table:** fix context object `currentPage` issue introduced in v2.10.0 (fixes
[#5065](https://github.com/bootstrap-vue/bootstrap-vue/issues/5065))
([#5067](https://github.com/bootstrap-vue/bootstrap-vue/issues/5067))
([874dca2](https://github.com/bootstrap-vue/bootstrap-vue/commit/874dca2c8c385fecf7cec76e6cfa44eda9fcabf4))

### Other v2.10.1

- dev dependency updates

<a name="2.10.0"></a>

## [v2.10.0](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.9.0...v2.10.0)
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-vue",
"version": "2.10.0",
"version": "2.10.1",
"description": "BootstrapVue, with more than 85 custom components, over 45 plugins, several custom directives, and over 300 icons, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-ARIA accessibility markup.",
"main": "dist/bootstrap-vue.common.js",
"web": "dist/bootstrap-vue.js",
Expand Down Expand Up @@ -108,7 +108,7 @@
"autoprefixer": "^9.7.5",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.2.4",
"babel-jest": "^25.2.6",
"babel-plugin-istanbul": "^6.0.0",
"bootstrap-icons": "^1.0.0-alpha3",
"clean-css-cli": "^4.3.0",
Expand All @@ -132,9 +132,9 @@
"esm": "^3.2.25",
"gh-pages": "^2.2.0",
"highlight.js": "^9.18.1",
"html-loader": "^1.0.0",
"html-loader": "^1.1.0",
"husky": "^4.2.3",
"jest": "^25.2.4",
"jest": "^25.2.6",
"jest-environment-jsdom-fourteen": "^1.0.1",
"lint-staged": "^10.1.1",
"loader-utils": "^2.0.0",
Expand Down
6 changes: 5 additions & 1 deletion src/components/avatar/_avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
}

&a,
&button {
&button,
&.btn {
padding: 0;
border: 0;

&:not(:disabled):not(.disabled) {
cursor: if($enable-pointer-cursor-for-buttons, pointer, null);
}
Expand Down
5 changes: 3 additions & 2 deletions src/components/sidebar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ CSS style overrides.

### Width

By default the width of `<b-sidebar>` is restricted to `320px` (100% on 'xs' screens). Simply
provide a style of `width` to change the width to a preferred value. The max width is set to `100%`.
By default the width of `<b-sidebar>` is set to `320px` (100% on 'xs' screens). Simply provide a
value via the `width` prop (i.e. `'180px'`, `'20em'`, etc) to override this default. The max width
is set to `100%` via CSS.

### Padding

Expand Down
2 changes: 1 addition & 1 deletion src/components/table/helpers/mixin-items.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default {
sortBy: this.localSortBy,
sortDesc: this.localSortDesc,
perPage: Math.max(toInteger(this.perPage, 0), 0),
currentPage: Math.max(toInteger(this.perPage, 0), 1),
currentPage: Math.max(toInteger(this.currentPage, 0), 1),
apiUrl: this.apiUrl
}
}
Expand Down
Loading