Skip to content

Commit

Permalink
Merge pull request #63 from hoxxep/master
Browse files Browse the repository at this point in the history
Fixed Mobile Safari Input Button Issues (#48, #58)
  • Loading branch information
Alfiana Sibuea committed Dec 18, 2014
2 parents 95f0e33 + d5fc87a commit 4d17f11
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/waves.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
padding: 0;
}
.waves-input-wrapper .waves-button-input {
position: absolute;
position: relative;
top: 0;
left: 0;
z-index: 1;
Expand Down
3 changes: 1 addition & 2 deletions dist/waves.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,12 @@
wrapper.className = el.className + ' waves-input-wrapper';

var elementStyle = el.getAttribute('style');
var dimensionStyle = 'width:'+el.offsetWidth+'px;height:'+el.clientHeight+'px;';

if (!elementStyle) {
elementStyle = '';
}

wrapper.setAttribute('style', dimensionStyle+elementStyle);
wrapper.setAttribute('style', elementStyle);

el.className = 'waves-button-input';
el.removeAttribute('style');
Expand Down
2 changes: 1 addition & 1 deletion dist/waves.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/waves.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4d17f11

Please sign in to comment.