Fix mobile card press and release animations
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<a ontouchstart="cardPressed.call(this)" ontouchend="cardReleased.call(this)" ontouchmove="cardReleased.call(this)" href="{{ .Permalink }}" class="card-link-wrapper" rel="bookmark" title="Link to {{ .Title }}" >
|
||||
<a ontouchstart="cardPressed.call(this)" ontouchend="cardReleased.call(this)" href="{{ .Permalink }}" class="card-link-wrapper" rel="bookmark" title="Link to {{ .Title }}" >
|
||||
{{ if isset .Params "featuredimage" }}
|
||||
<img src="{{ .Site.BaseURL }}/{{.Params.featuredimage }}" class="card-img">
|
||||
{{ end }}
|
||||
|
||||
@@ -85,7 +85,7 @@ img {
|
||||
object-fit: cover;
|
||||
}
|
||||
.card-title {
|
||||
margin: 0.5em 0 0.5em 0;
|
||||
margin: 0.7em 0 0.7em 0;
|
||||
/* text-align: center; */
|
||||
}
|
||||
.card-date {
|
||||
|
||||
Reference in New Issue
Block a user