Skip to content

Commit 46d08f6

Browse files
activedecayraymondfeng
authored andcommitted
fix: change unmatched html tags, remove redundant 'px' from 0
- i think the author's intention was to use an h3 tag - 'px' (or any) unit is not needed when specifying `margin: 0;`
1 parent c49b65a commit 46d08f6

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

examples/soap-calculator/public/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
.info h1 {
4545
text-align: center;
46-
margin-bottom: 0px;
46+
margin-bottom: 0;
4747
}
4848

4949
.info p {
@@ -58,8 +58,8 @@
5858
<div class="info">
5959
<h1>@loopback/example-soap-calculator</h1>
6060

61-
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h4>
62-
<h3>API Explorer: <a href="/explorer">/explorer</a></h4>
61+
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h3>
62+
<h3>API Explorer: <a href="/explorer">/explorer</a></h3>
6363
</div>
6464

6565
<footer class="power">

examples/todo-list/public/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
.info h1 {
4545
text-align: center;
46-
margin-bottom: 0px;
46+
margin-bottom: 0;
4747
}
4848

4949
.info p {
@@ -58,8 +58,8 @@
5858
<div class="info">
5959
<h1>@loopback/example-todo-list</h1>
6060

61-
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h4>
62-
<h3>API Explorer: <a href="/explorer">/explorer</a></h4>
61+
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h3>
62+
<h3>API Explorer: <a href="/explorer">/explorer</a></h3>
6363
</div>
6464

6565
<footer class="power">

examples/todo/public/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
.info h1 {
4545
text-align: center;
46-
margin-bottom: 0px;
46+
margin-bottom: 0
4747
}
4848

4949
.info p {
@@ -58,8 +58,8 @@
5858
<div class="info">
5959
<h1>@loopback/example-todo</h1>
6060

61-
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h4>
62-
<h3>API Explorer: <a href="/explorer">/explorer</a></h4>
61+
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h3>
62+
<h3>API Explorer: <a href="/explorer">/explorer</a></h3>
6363
</div>
6464

6565
<footer class="power">

packages/cli/generators/app/templates/public/index.html.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
4444
.info h1 {
4545
text-align: center;
46-
margin-bottom: 0px;
46+
margin-bottom: 0;
4747
}
4848
4949
.info p {
@@ -59,8 +59,8 @@
5959
<h1><%= project.name %></h1>
6060
<p>Version <%= project.version || '1.0.0' %></p>
6161

62-
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h4>
63-
<h3>API Explorer: <a href="/explorer">/explorer</a></h4>
62+
<h3>OpenAPI spec: <a href="/openapi.json">/openapi.json</a></h3>
63+
<h3>API Explorer: <a href="/explorer">/explorer</a></h3>
6464
</div>
6565

6666
<footer class="power">

0 commit comments

Comments
 (0)