Skip to content

Commit 9f30715

Browse files
committed
Fix responsiveness of getting started index page
1 parent 280194e commit 9f30715

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

css/blog.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,21 @@ blockquote {
136136
}
137137

138138
@media handheld, only screen and (max-width: 850px) {
139+
.post-preview {
140+
width: calc(100% / 2 - 30px);
141+
height: 200px;
142+
}
139143
.blog-posts .post-preview {
140144
width: calc(100% / 2 - 50px);
141-
height: 200px;
142145
}
143146
}
144147

145148
@media handheld, only screen and (max-width: 767px) {
149+
.post-preview {
150+
width: calc(100% - 30px);
151+
height: 200px;
152+
}
146153
.blog-posts .post-preview {
147154
width: calc(100% - 40px);
148-
height: 200px;
149155
}
150156
}

docs/index.html

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,26 @@ <h2>Getting Started</h2>
1414
<h2>User Guide</h2>
1515
<p>The definitive guide to using Node-RED</p>
1616
</div></a></li>
17-
18-
<li><a class="box-link" href="/docs/faq"><img src="../images/guide-faq.png"/>
19-
<div class="doc-item-info">
20-
<h2>Frequently Asked Questions</h2>
21-
<p>And hopefully some answers</p>
22-
</div></a></li>
23-
</ul>
24-
<ul class="doc-items">
17+
<li><a class="box-link" href="/docs/faq"><img src="../images/guide-faq.png"/>
18+
<div class="doc-item-info">
19+
<h2>Frequently Asked Questions</h2>
20+
<p>And hopefully some answers</p>
21+
</div></a></li>
2522
<li><a class="box-link" href="/docs/tutorials"><img src="../images/guide-tutorials.png"/>
2623
<div class="doc-item-info">
2724
<h2>Tutorials</h2>
2825
<p>Examples of what you can do, taken one step at a time</p>
2926
</div></a></li>
30-
<li><a class="box-link" href="https://cookbook.nodered.org"><img src="../images/guide-cookbook.png"/>
31-
<div class="doc-item-info">
32-
<h2>Cookbook</h2>
33-
<p>Recipes to help you get things done with Node-RED</p>
27+
<li><a class="box-link" href="https://cookbook.nodered.org"><img src="../images/guide-cookbook.png"/>
28+
<div class="doc-item-info">
29+
<h2>Cookbook</h2>
30+
<p>Recipes to help you get things done with Node-RED</p>
31+
</div></a></li>
32+
<li><a class="box-link" href="/docs/developing-flows/"><img src="../images/guide-developing-flows.png"/>
33+
<div class="doc-item-info">
34+
<h2>Developing Flows</h2>
35+
<p>Best practices for creating clear and reusable flows</p>
3436
</div></a></li>
35-
<li><a class="box-link" href="/docs/developing-flows/"><img src="../images/guide-developing-flows.png"/>
36-
<div class="doc-item-info">
37-
<h2>Developing Flows</h2>
38-
<p>Best practices for creating clear and reusable flows</p>
39-
</div></a></li>
40-
</ul>
41-
42-
<ul class="doc-items">
4337
<li><a class="box-link" href="/docs/creating-nodes/"><img src="../images/guide-customnode.png"/>
4438
<div class="doc-item-info">
4539
<h2>Creating Nodes</h2>

0 commit comments

Comments
 (0)