Skip to content

Commit

Permalink
patch material/ios button bug (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdouble committed Nov 3, 2016
1 parent 1fb94d4 commit 8fda79a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// using Modernizer CSS classes to detect if browser supports the W3C Touch Events API
:host-context(.mod-touchevents) [md-button]:hover::after, [md-icon-button]:hover::after {
content: none;
}

#my-page-card {
min-height: 100%;
}
3 changes: 1 addition & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import { MOBILE } from './services/constants';
@Component({
selector: 'my-app',
styleUrls: ['./app.component.css'],
templateUrl: './app.component.html',
encapsulation: ViewEncapsulation.None
templateUrl: './app.component.html'
})
export class AppComponent implements OnInit {
showMonitor = (ENV === 'development' && !AOT &&
Expand Down
3 changes: 3 additions & 0 deletions src/assets/dist_root/modernizer-touch-events.min.js

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

1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
Loading...
</my-app>
<script type="text/javascript" src="hammer.min.js"></script>
<script type="text/javascript" src="modernizer-touch-events.min.js"></script>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=console.*,Intl.~locale.en&gated=1"></script>
<div id="str-dlls">
<%= '<' %>script src="/polyfill.dll.js"<%= '>' %><%= '<' %>/script<%= '>' %>
Expand Down

0 comments on commit 8fda79a

Please sign in to comment.