site: optimize banner display (#44894)

This commit is contained in:
cwg 2023-09-15 18:48:34 +08:00 committed by GitHub
parent fa61f81144
commit 4d3814478c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -10,7 +10,7 @@ export default () => {
styles={css`
.nav-phone-icon {
position: absolute;
top: 25px;
bottom: 17px;
right: 30px;
z-index: 1;
display: none;

View File

@ -116,14 +116,10 @@ const useStyle = createStyles(({ token, css }) => {
},
},
banner: css`
position: absolute;
bottom: 0;
left: 50%;
width: 100%;
background: #daf5eb;
text-align: center;
word-break: keep-all;
transform: translate(-50%, 100%);
`,
link: css`
margin-left: 10px;