mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
380cae80bc
Co-authored-by: afc163 <afc163@gmail.com>
583 B
583 B
zh-CN
可以自定义工具栏并添加下载原图或翻转旋转后图片的按钮。
en-US
You can customize the toolbar and add a button for downloading the original image or downloading the flipped and rotated image.
.toolbar-wrapper {
padding: 0px 24px;
color: #fff;
font-size: 20px;
background-color: rgba(0, 0, 0, 0.1);
border-radius: 100px;
}
.toolbar-wrapper .anticon {
padding: 12px;
cursor: pointer;
}
.toolbar-wrapper .anticon[disabled] {
cursor: not-allowed;
opacity: 0.3;
}
.toolbar-wrapper .anticon:hover {
opacity: 0.3;
}