Skip to content

Commit f335573

Browse files
Remove z-index property on MainButton
1 parent 2d6b132 commit f335573

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

docs/webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = {
3636
},
3737
{
3838
test: /\.css$/,
39-
use: ['style-loader', 'css-loader?modules'],
39+
loader: 'style-loader!css-loader?sourceMap',
4040
},
4141
],
4242
},
@@ -47,4 +47,4 @@ module.exports = {
4747
template: 'index.html',
4848
}),
4949
],
50-
};
50+
};

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-floating-button-menu",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A Customizable Material floating button menu implementation made with styled-component & react",
55
"devDependencies": {
66
"babel-core": "^6.24.1",
@@ -22,7 +22,7 @@
2222
"pretty-bytes": "^4.0.2",
2323
"react-hot-loader": "^4.0.0",
2424
"webpack": "^2.4.1",
25-
"webpack-dev-server": "^2.4.3"
25+
"webpack-dev-server": "^3.1.14"
2626
},
2727
"peerDependencies": {
2828
"react": "^16"

src/MainButton.js

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import PropTypes from 'prop-types';
55

66
const Wrapper = styled('a')(({ backgroundColor, size, iconColor }) => ({
77
color: iconColor,
8-
zIndex: '1',
98
display: 'flex',
109
border: 'none',
1110
borderRadius: '50%',

0 commit comments

Comments
 (0)