site: update affix demo style (#45358)

This commit is contained in:
kiner-tang(文辉) 2023-10-15 22:19:35 -05:00 committed by GitHub
parent 5453055dcb
commit 75d4d29ad3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -90,7 +90,7 @@ exports[`renders components/affix/demo/on-change.tsx extend context correctly 2`
exports[`renders components/affix/demo/target.tsx extend context correctly 1`] = `
<div
style="width: 100%; height: 100px; border-radius: 6px; overflow: auto; border: 1px solid #40a9ff;"
style="width: 100%; height: 100px; overflow: auto; border: 1px solid #40a9ff;"
>
<div
style="width: 100%; height: 1000px;"

View File

@ -84,7 +84,7 @@ exports[`renders components/affix/demo/on-change.tsx correctly 1`] = `
exports[`renders components/affix/demo/target.tsx correctly 1`] = `
<div
style="width:100%;height:100px;border-radius:6px;overflow:auto;border:1px solid #40a9ff"
style="width:100%;height:100px;overflow:auto;border:1px solid #40a9ff"
>
<div
style="width:100%;height:1000px"

View File

@ -4,7 +4,6 @@ import { Affix, Button } from 'antd';
const containerStyle: React.CSSProperties = {
width: '100%',
height: 100,
borderRadius: 6,
overflow: 'auto',
border: '1px solid #40a9ff',
};