docs: fix incorrect styles (#42992)

* docs: fix incorrect styles

* chore: update
This commit is contained in:
未觉雨声 2023-06-13 15:45:34 +08:00 committed by GitHub
parent c7a80f88de
commit 43d2a7fa19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ export default () => (
top: -1.6em;
left: 5.5em;
display: block;
width: ~'calc(100% - 6em)';
width: calc(100% - 6em);
height: 1.2em;
background-color: white;
border-radius: 2px;

View File

@ -53,7 +53,7 @@ export default () => {
font-family: ${token.fontFamily};
line-height: ${token.lineHeight};
background: ${token.colorBgContainer};
transition: background 1s cubic-bezier(0.075, 0.82, 0.165, 1);
transition: background-color 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
`}
/>

View File

@ -87,7 +87,7 @@ export default () => {
}
.prev-next-nav {
width: ~'calc(100% - 32px)';
width: calc(100% - 32px);
margin-left: 16px;
.ant-row-rtl & {