From 36af368a8cf164a9136165f429be959cf3e488a4 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Mon, 26 Sep 2016 18:59:34 -0700 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 214044b7..160a6307 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The OpenAPI Specification has undergone 4 revisions since initial creation in 20 Swagger UI Version | Release Date | OpenAPI Spec compatibility | Notes | Status ------------------ | ------------ | -------------------------- | ----- | ------ -2.2.4 | 2016-09-20 | 1.1, 1.2, 2.0 | [tag v.2.2.4](https://github.com/swagger-api/swagger-ui/tree/v2.2.4) | +2.2.5 | 2016-09-26 | 1.1, 1.2, 2.0 | [tag v.2.2.5](https://github.com/swagger-api/swagger-ui/tree/v2.2.5) | 2.1.5 | 2016-07-20 | 1.1, 1.2, 2.0 | [tag v.2.1.5](https://github.com/swagger-api/swagger-ui/tree/v2.1.5) | 2.0.24 | 2014-09-12 | 1.1, 1.2 | [tag v2.0.24](https://github.com/swagger-api/swagger-ui/tree/v2.0.24) | 1.0.13 | 2013-03-08 | 1.1, 1.2 | [tag v1.0.13](https://github.com/swagger-api/swagger-ui/tree/v1.0.13) | From 87ef5c1f72733dbbab0c8ecbf2ddb3c4db5c579e Mon Sep 17 00:00:00 2001 From: Chuck Goss Date: Wed, 28 Sep 2016 15:21:46 -0500 Subject: [PATCH 2/2] Fix font src attribute The `format('truetype')` bit should not be preceded by a comma. It breaks in Chrome (at least). See https://css-tricks.com/snippets/css/using-font-face/ for an example. --- src/main/html/css/typography.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/html/css/typography.css b/src/main/html/css/typography.css index efb785fa..3235edd9 100644 --- a/src/main/html/css/typography.css +++ b/src/main/html/css/typography.css @@ -3,12 +3,12 @@ font-family: 'Droid Sans'; font-style: normal; font-weight: 400; - src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf'), format('truetype'); + src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf') format('truetype'); } /* Google Font's Droid Sans Bold */ @font-face { font-family: 'Droid Sans'; font-style: normal; font-weight: 700; - src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf'), format('truetype'); + src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf') format('truetype'); }