mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 07:28:37 +08:00
refactor(useVersionChecker): 优化版本检查逻辑和通知机制
feat(locales): 更新多语言版本信息 style(main.scss): 移除版本更新通知样式
This commit is contained in:
@@ -11,36 +11,3 @@
|
||||
@import 'vue-toastification/dist/index.css';
|
||||
@import 'vue3-perfect-scrollbar/style.css';
|
||||
@import '@vue-js-cron/vuetify/dist/vuetify.css';
|
||||
|
||||
/* 版本更新通知专用样式 */
|
||||
.version-update-toast-container {
|
||||
min-width: unset !important;
|
||||
width: fit-content !important;
|
||||
|
||||
// 移动端适配:强制靠右并修正位置
|
||||
@media only screen and (width <= 600px) {
|
||||
max-width: calc(100vw - 1rem) !important;
|
||||
margin-inline: 0 0.5rem !important;
|
||||
border-radius: 8px !important;
|
||||
position: relative !important;
|
||||
top: calc(100vh - 12rem) !important;
|
||||
}
|
||||
}
|
||||
|
||||
// 使用 :has 选择器精准控制包含更新通知的容器
|
||||
.Vue-Toastification__container:has(.version-update-toast-container) {
|
||||
@media only screen and (width <= 600px) {
|
||||
top: auto !important;
|
||||
bottom: 0 !important;
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
align-items: flex-end !important;
|
||||
padding-block-end: 4.5rem !important;
|
||||
pointer-events: none;
|
||||
|
||||
.version-update-toast-container {
|
||||
pointer-events: auto;
|
||||
margin-inline-end: 0.5rem !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user