Skip to content

Commit 80b5e71

Browse files
committed
style: update add entry button icon
1 parent 416484b commit 80b5e71

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

src/dashboard/Data/Config/Config.react.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import TableHeader from 'components/Table/TableHeader.react';
2121
import TableView from 'dashboard/TableView.react';
2222
import Toolbar from 'components/Toolbar/Toolbar.react';
2323
import browserStyles from 'dashboard/Data/Browser/Browser.scss';
24+
import configStyles from 'dashboard/Data/Config/Config.scss';
2425
import { CurrentApp } from 'context/currentApp';
2526
import Modal from 'components/Modal/Modal.react';
2627
import equal from 'fast-deep-equal';
@@ -276,8 +277,11 @@ class Config extends TableView {
276277
</td>
277278
<td style={columnStyleAction}>
278279
{type === 'Array' && (
279-
<a onClick={() => this.openAddEntryDialog(data.param)}>
280-
<Icon width={16} height={16} name="plus-solid" />
280+
<a
281+
className={configStyles.actionIcon}
282+
onClick={() => this.openAddEntryDialog(data.param)}
283+
>
284+
<Icon width={12} height={12} name="plus-solid" />
281285
</a>
282286
)}
283287
</td>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
@import 'stylesheets/globals.scss';
2+
3+
.actionIcon {
4+
display: inline-flex;
5+
align-items: center;
6+
justify-content: center;
7+
width: 20px;
8+
height: 20px;
9+
border-radius: 50%;
10+
background-color: $lightBlue;
11+
12+
svg {
13+
fill: $darkBlue;
14+
}
15+
}
16+

0 commit comments

Comments
 (0)