css - 使用自定义 SVG React 覆盖 AgGrid 行复选框
问题描述
我有以下样式来覆盖 AGgrid 复选框,但我需要它用 SVG 覆盖图标。它是如何工作的,我正在尝试这样的事情。将其应用于此处建议的 div 主题https://www.ag-grid.com/javascript-grid-styling/
'& .ag-checkbox-input-wrapper:after': {
content: `url("data:image/svg+xml; utf8, ` + logo + `") !important`,
top: '1px !important',
right: '1px !important',
bottom: '1px !important',
left: '1px !important',
opacity: 1,
borderRadius: '50%',
background: 'white !important',
color: 'blue !important'
},
解决方案
推荐阅读
- python - SyntaxError: 'break' outside loop, error only given on raspberry pi 3, not on pc
- php - 在 wordpress 管理样式中单击添加新页面时会中断
- angular - How to trigger Required Field Validation when tabbing through DatePicker form control?
- android - 如何在已经创建的 react native 项目中添加 sdk 版本?
- java - Mapstruct:如何将自定义映射器与 @MappingTarget 一起使用
- angular - Ionic 4 Slider autoplay
- javascript - 什么是多文件上传示例的 js 验证:name="files[]"
- swift - 使用 ESTabBarController 添加标签栏
- python - for el in x ->TypeError: 'float' object is not iterable
- .net - Many system libraries in build folder when referencing .netstandard project