Merge pull request #175 in YR/star-web-components from loading to master

* commit '5d6c0d5ceba48bed03a70788b88657bea9ab38d1':
  调整loading组件样式
This commit is contained in:
汪昌棋 2022-11-24 18:03:25 +08:00
commit 20216511f1
1 changed files with 4 additions and 1 deletions

View File

@ -4,10 +4,12 @@ export default css`
:host { :host {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0;
height: 100vh; height: 100vh;
width: 100vw; width: 100vw;
transition: opacity 0.2s; transition: opacity 0.2s;
pointer-events: all; pointer-events: all;
z-index: 2147483647;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -24,11 +26,12 @@ export default css`
} }
#loading { #loading {
width: var(--auto-92px);
margin-right: var(--auto-10px); margin-right: var(--auto-10px);
} }
#notice { #notice {
color: var(--font-normal-color); color: var(--font-normal-color);
font-size: var(--auto-16px); font-size: var(--auto-26px);
} }
` `