mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
site: optimize banner display (#44894)
This commit is contained in:
parent
fa61f81144
commit
4d3814478c
@ -10,7 +10,7 @@ export default () => {
|
|||||||
styles={css`
|
styles={css`
|
||||||
.nav-phone-icon {
|
.nav-phone-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 25px;
|
bottom: 17px;
|
||||||
right: 30px;
|
right: 30px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -116,14 +116,10 @@ const useStyle = createStyles(({ token, css }) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
banner: css`
|
banner: css`
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
left: 50%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #daf5eb;
|
background: #daf5eb;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
word-break: keep-all;
|
word-break: keep-all;
|
||||||
transform: translate(-50%, 100%);
|
|
||||||
`,
|
`,
|
||||||
link: css`
|
link: css`
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
Loading…
Reference in New Issue
Block a user