mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Merge pull request #4207 from ZiuChen/fix/badge-helper-position
fix: 修正直播间粉丝勋章定位溢出视口问题
This commit is contained in:
commit
14af39d61a
@ -90,7 +90,7 @@ export default Vue.extend({
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateColumnsCount() {
|
updateColumnsCount() {
|
||||||
const maxColumnCount = 6
|
const maxColumnCount = 15
|
||||||
const columnLength = 12
|
const columnLength = 12
|
||||||
const element = this.$el as HTMLElement
|
const element = this.$el as HTMLElement
|
||||||
const medalColumns = Math.min(Math.ceil(this.medalList.length / columnLength), maxColumnCount)
|
const medalColumns = Math.min(Math.ceil(this.medalList.length / columnLength), maxColumnCount)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user