尝试修复闪烁问题

This commit is contained in:
321zhangjvzhi 2024-04-02 14:42:54 +08:00
parent 0d3bcbef48
commit dca7dc584d
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import logo from '@/icons/common/sidebar-logo.svg?url'
import settings from '@/settings' import settings from '@/settings'
document.querySelector('#app')!.innerHTML = ` document.querySelector('#app')!.innerHTML = `
<div class="__init__"> <div class="__init__" style="display: none">
<link id="__init__" rel="stylesheet" href="${css}" /> <link id="__init__" rel="stylesheet" href="${css}" />
<div class="__init__image"> <div class="__init__image">
<img src="${logo}" alt="" /> <img src="${logo}" alt="" />

View File

@ -5,7 +5,7 @@
height: 100vh; height: 100vh;
width: 100vw; width: 100vw;
overflow: hidden; overflow: hidden;
display: flex; display: flex !important;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;