Skip to content

Commit

Permalink
Fix card-link
Browse files Browse the repository at this point in the history
  • Loading branch information
djibe committed May 29, 2020
1 parent c64bde7 commit f643524
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="keywords" content="material design, material, material UI, bootstrap, theme, daemonite, web, ui, components, responsive, accessibility, css, mobile web, open source">

<link rel="preconnect" href="https://fonts.googleapis.com/">
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
<link rel="preconnect" href="https://fonts.gstatic.com/">
<link rel="preconnect" href="https://cdn.jsdelivr.net/">

<meta name="docsearch:language" content="en">
Expand Down
3 changes: 2 additions & 1 deletion assets/js/src/ripplet.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Ripplet = (() => {
if (event.button !== 0) {
return
}
const currentTarget = event.target.closest('.btn')
const currentTarget = event.target.closest('.btn, .card-link')
if (!currentTarget || currentTarget.disabled) {
return
}
Expand Down Expand Up @@ -57,6 +57,7 @@ const Ripplet = (() => {
cls.contains('btn-outline-dark') ||
cls.contains('btn-outline-light') ||
cls.contains('btn-link') ||
cls.contains('card-link') ||
cls.contains('btn-flat-primary') ||
cls.contains('btn-flat-secondary') ||
cls.contains('btn-flat-danger') ||
Expand Down
2 changes: 1 addition & 1 deletion docs/4.5/material/text-fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ To disable this add-on, in `_utilities.scss`, comment the last line like this :
{% capture example %}
<div class="form-group form-ripple">
<label for="exampleInputSearch">Search</label>
<input class="form-control" id="exampleInputSearch" placeholder="Search" type="search">
<input class="form-control" id="exampleInputSearch" placeholder="Search something to reveal icon" type="search">
</div>
<div class="form-group form-ripple">
<label for="exampleInputDateTime">Date and time</label>
Expand Down
4 changes: 2 additions & 2 deletions js/material.js

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

2 changes: 1 addition & 1 deletion js/material.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions js/material.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/material.min.js.map

Large diffs are not rendered by default.

0 comments on commit f643524

Please sign in to comment.