mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 19:42:54 +08:00
demo: add border for demo (#45342)
* demo: update demo * demo: update demo
This commit is contained in:
parent
34e0a3e0cf
commit
406817a86a
@ -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; overflow: auto;"
|
||||
style="width: 100%; height: 100px; border-radius: 6px; overflow: auto; border: 1px solid #40a9ff;"
|
||||
>
|
||||
<div
|
||||
style="width: 100%; height: 1000px;"
|
||||
|
@ -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;overflow:auto"
|
||||
style="width:100%;height:100px;border-radius:6px;overflow:auto;border:1px solid #40a9ff"
|
||||
>
|
||||
<div
|
||||
style="width:100%;height:1000px"
|
||||
|
@ -4,7 +4,9 @@ import { Affix, Button } from 'antd';
|
||||
const containerStyle: React.CSSProperties = {
|
||||
width: '100%',
|
||||
height: 100,
|
||||
borderRadius: 6,
|
||||
overflow: 'auto',
|
||||
border: '1px solid #40a9ff',
|
||||
};
|
||||
|
||||
const style: React.CSSProperties = {
|
||||
|
Loading…
Reference in New Issue
Block a user