diff --git a/src/components/Button.jsx b/src/components/Button.jsx index 0815368..e769007 100644 --- a/src/components/Button.jsx +++ b/src/components/Button.jsx @@ -5,6 +5,7 @@ import classnames from 'classnames' class Button extends React.Component { static propTypes = { "data-wd-key": PropTypes.string, + "aria-label": PropTypes.string, onClick: PropTypes.func, style: PropTypes.object, className: PropTypes.string, @@ -14,6 +15,7 @@ class Button extends React.Component { render() { return } diff --git a/src/styles/_modal.scss b/src/styles/_modal.scss index 883b151..4fe3acf 100644 --- a/src/styles/_modal.scss +++ b/src/styles/_modal.scss @@ -85,6 +85,7 @@ background-color: $color-gray; padding: $margin-3; display: block; + width: 100%; &:hover { background-color: $color-midgray; @@ -99,6 +100,9 @@ display: block; margin-top: $margin-2; width: 100%; + padding-top: calc(400 / 600 * 100%); + background-size: cover; + background-color: $color-midgray; } .maputnik-add-layer {