Merge pull request #148 from hotlcc/develop-20240604-1

This commit is contained in:
jxxghp
2024-06-04 14:00:49 +08:00
committed by GitHub
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/**
* 兼容性样式处理
*/
// 弹窗 VDialog 在低版本 iOS Safari 浏览器下宽度异常问题处理
@media screen and (max-device-width:960px) {
.v-dialog > .v-overlay__content {
margin: 0;
max-width: calc(100% - 1rem);
max-height: calc(100% - 1rem);
}
.v-dialog--fullscreen > .v-overlay__content {
max-width: 100%;
max-height: 100%;
}
}

View File

@@ -28,6 +28,7 @@ import TorrentCard from './components/cards/TorrentCard.vue'
import MediaIdSelector from './components/misc/MediaIdSelector.vue'
import PathField from './components/input/PathField.vue'
import { fixArrayAt } from '@/@core/utils/compatibility'
import '@core/scss/_compatibility.scss'
// 修复低版本Safari等浏览器数组不支持at函数的问题
fixArrayAt()