mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-10 17:42:50 +08:00
Merge pull request #148 from hotlcc/develop-20240604-1
This commit is contained in:
17
src/@core/scss/_compatibility.scss
Normal file
17
src/@core/scss/_compatibility.scss
Normal 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%;
|
||||
}
|
||||
}
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user