mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
demo: rm padding of overlayInnerStyle (#49761)
* demo: rm overlayInnerStyle * demo: rm overlayInnerStyle
This commit is contained in:
parent
2a5665616d
commit
d9f052d5cd
@ -24,7 +24,6 @@ Array [
|
||||
<div
|
||||
class="ant-popover-inner"
|
||||
role="tooltip"
|
||||
style="padding: 0px;"
|
||||
>
|
||||
<div
|
||||
class="ant-popover-inner-content"
|
||||
|
@ -2,10 +2,7 @@ import React from 'react';
|
||||
import { Button, Popover, QRCode } from 'antd';
|
||||
|
||||
const App: React.FC = () => (
|
||||
<Popover
|
||||
overlayInnerStyle={{ padding: 0 }}
|
||||
content={<QRCode value="https://ant.design" bordered={false} />}
|
||||
>
|
||||
<Popover content={<QRCode value="https://ant.design" bordered={false} />}>
|
||||
<Button type="primary">Hover me</Button>
|
||||
</Popover>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user