diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2019-11-24 19:56:30 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2019-11-24 19:56:30 +0100 |
| commit | 7e50be6d9947b90dd212a23ba7a37ca8957c156b (patch) | |
| tree | 8315d1c40017b15986e35b197a958094908f9e32 | |
| parent | 982c7a3077905ace62169102f68603e541187d9d (diff) | |
| download | blog-7e50be6d9947b90dd212a23ba7a37ca8957c156b.tar.gz blog-7e50be6d9947b90dd212a23ba7a37ca8957c156b.zip | |
Fix project card footer on mobile
| -rw-r--r-- | layouts/index.html | 2 | ||||
| -rw-r--r-- | static/css/custom.css | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index 703e5a5..a549272 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -14,7 +14,7 @@ <div class="card-text"> {{ .Summary }} </div> - <div> + <div class="card-actions"> {{ if .Truncated }} <a href="{{ .RelPermalink }}" class="card-link">Read Article</a> {{ end }} diff --git a/static/css/custom.css b/static/css/custom.css index 27f569e..0b7a19c 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -116,6 +116,10 @@ footer { margin: 0; } +.card-actions { + min-height: 2rem; +} + .card-link { font-weight: bold; } |
