Skip to content

Commit 4b57d46

Browse files
anaisbergSimonClo
authored andcommitted
💄 add button style
1 parent c3f0910 commit 4b57d46

File tree

1 file changed

+14
-1
lines changed
  • src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/DatabaseBlock

1 file changed

+14
-1
lines changed

src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/DatabaseBlock/AddRowButton.tsx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,23 @@ import { CustomCellRendererProps } from 'ag-grid-react';
33

44
export const AddRowButton = (props: CustomCellRendererProps) => {
55
console.log('AddRowButton props', props);
6+
const color = '#817E77';
67
return (
78
<Button
89
color="tertiary-text"
9-
icon={<span className="material-icons">add</span>}
10+
icon={
11+
<span style={{ color }} className="material-icons">
12+
add
13+
</span>
14+
}
15+
style={{
16+
color,
17+
fontSize: '12px',
18+
fontWeight: '400',
19+
left: '-12px',
20+
padding: 0,
21+
width: '100%',
22+
}}
1023
>
1124
new row
1225
</Button>

0 commit comments

Comments
 (0)