Skip to content

Commit aca124e

Browse files
committed
Edit style of PaneApiKey function component
1 parent 5f1375e commit aca124e

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

js/components/header/PaneApiKey.js

Lines changed: 2 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/components/header/PaneApiKey.js.map

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/header/PaneApiKey.jsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ const MAX_KEY = 11;
1515

1616
const S_SCROLL_PANE = {
1717
overflowY: 'auto',
18-
maxHeight: 360,
18+
maxHeight: 340,
1919
paddingRight: 10
2020
}
2121
, S_OC_CHILD = { paddingLeft: 8 }
22-
, S_ROW_BTS = { margLeft: 0 }
23-
, S_BT_SET = { margin: '0 6px' };
22+
, S_ROW_BTS = { margLeft: 0 };
2423

2524
const CONF_SM_ARR = [
2625
["AV", "alpha-vantage", "Alpha Vantage"],
@@ -152,15 +151,15 @@ const PaneApiKey = ({
152151
setRefFocusLast={setRefFocusLast}
153152
>
154153
<FlatButton
155-
style={{...btStyle, ...S_BT_SET}}
154+
style={btStyle}
156155
caption="SET ALL"
157156
onClick={_hSetAll}
158157
/>
159158
<FlatButton
160159
style={btStyle}
161160
caption="CLEAR ALL"
162161
onClick={_hClearAll}
163-
/>
162+
/>
164163
</RowButtons>
165164
</ScrollPane>
166165
) : null;

0 commit comments

Comments
 (0)