Skip to content

Commit

Permalink
fix: change unmatched html tags, remove redundant 'px' from 0
Browse files Browse the repository at this point in the history
- i think the author's intention was to use an h3 tag
- 'px' (or any) unit is not needed when specifying `margin: 0;`
  • Loading branch information
activedecay authored and raymondfeng committed Oct 22, 2018
1 parent c49b65a commit 46d08f6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions examples/soap-calculator/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

.info h1 {
text-align: center;
margin-bottom: 0px;
margin-bottom: 0;
}

.info p {
Expand All @@ -58,8 +58,8 @@
<div class="info">
<h1>@loopback/example-soap-calculator</h1>

<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h4>
<h3>API Explorer: <a href="/explorer">/explorer</a></h4>
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h3>
<h3>API Explorer: <a href="/explorer">/explorer</a></h3>
</div>

<footer class="power">
Expand Down
6 changes: 3 additions & 3 deletions examples/todo-list/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

.info h1 {
text-align: center;
margin-bottom: 0px;
margin-bottom: 0;
}

.info p {
Expand All @@ -58,8 +58,8 @@
<div class="info">
<h1>@loopback/example-todo-list</h1>

<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h4>
<h3>API Explorer: <a href="/explorer">/explorer</a></h4>
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h3>
<h3>API Explorer: <a href="/explorer">/explorer</a></h3>
</div>

<footer class="power">
Expand Down
6 changes: 3 additions & 3 deletions examples/todo/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

.info h1 {
text-align: center;
margin-bottom: 0px;
margin-bottom: 0
}

.info p {
Expand All @@ -58,8 +58,8 @@
<div class="info">
<h1>@loopback/example-todo</h1>

<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h4>
<h3>API Explorer: <a href="/explorer">/explorer</a></h4>
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h3>
<h3>API Explorer: <a href="/explorer">/explorer</a></h3>
</div>

<footer class="power">
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/generators/app/templates/public/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
.info h1 {
text-align: center;
margin-bottom: 0px;
margin-bottom: 0;
}
.info p {
Expand All @@ -59,8 +59,8 @@
<h1><%= project.name %></h1>
<p>Version <%= project.version || '1.0.0' %></p>

<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h4>
<h3>API Explorer: <a href="/explorer">/explorer</a></h4>
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h3>
<h3>API Explorer: <a href="/explorer">/explorer</a></h3>
</div>

<footer class="power">
Expand Down

0 comments on commit 46d08f6

Please sign in to comment.