Skip to content

Commit 9fc1158

Browse files
committed
embed fonts correctly
1 parent 694dc6f commit 9fc1158

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "api-ui",
3-
"version": "1.0.8",
3+
"version": "1.1.0",
44
"description": "Embedded UI for any service that implements the Rancher API spec",
55
"contributors": [
66
"Go Daddy Operating Company, LLC. (http://godaddy.com)",

src/HTMLApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ HTMLApi.prototype.schemasLoad = function(link, cb)
218218
return async.nextTick(function() { cb("No data") });
219219

220220
// Link may come from the page <script>, but override it if one is in the JSON body.
221-
if ( this._data.links && this._data.links.schemas )
222-
link = this._data.links.schemas;
221+
//if ( this._data.links && this._data.links.schemas )
222+
// link = this._data.links.schemas;
223223

224224
if ( link )
225225
{

styles/main.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
@font-face {
2+
font-family: 'Glyphicons Halflings';
3+
src: url("fonts/glyphicons-halflings-regular.eot");
4+
src: url("fonts/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"),
5+
url("fonts/glyphicons-halflings-regular.woff2") format("woff2"),
6+
url("fonts/glyphicons-halflings-regular.woff") format("woff"),
7+
url("fonts/glyphicons-halflings-regular.ttf") format("truetype"),
8+
url("fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg");
9+
}
10+
111
.modal {
212
overflow: auto;
313
position: absolute;

0 commit comments

Comments
 (0)