From f84334370729df97995f82149f72fed40211c7c7 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 7 May 2019 23:49:31 +0200 Subject: [PATCH] fixes #104, no uppercase in header also fixes padding on crumbs path (and a missing slash) --- pygeoapi/static/css/default.css | 7 ++++++- pygeoapi/templates/collection.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pygeoapi/static/css/default.css b/pygeoapi/static/css/default.css index 7286aeb..fdbd1e7 100644 --- a/pygeoapi/static/css/default.css +++ b/pygeoapi/static/css/default.css @@ -13,7 +13,7 @@ main { padding: 6px; } .crumbs a { - padding-left:10px; + padding: 0px 6px; color:black; text-transform: capitalize; } @@ -21,4 +21,9 @@ main { #items-map { width: 100%; height: 400px; + } + +/* cancel mini-css header>button uppercase */ +header button, header [type="button"], header .button, header [role="button"] { + text-transform: none; } \ No newline at end of file diff --git a/pygeoapi/templates/collection.html b/pygeoapi/templates/collection.html index 05fb921..f7adc1f 100644 --- a/pygeoapi/templates/collection.html +++ b/pygeoapi/templates/collection.html @@ -2,7 +2,7 @@ {% block title %}{{ super() }} {{ data['title'] }} {% endblock %} {% block crumbs %}{{ super() }} / Collections -{{ data['title'] }} +/ {{ data['title'] }} {% endblock %} {% block body %}