Remove useless paragraph element and fix CSS.

This commit is contained in:
Danila Fedorin 2020-12-28 22:41:15 -08:00
parent e0451d026c
commit 8164624cee
2 changed files with 10 additions and 7 deletions

View File

@ -8,6 +8,11 @@ $search-element-padding: 0.5rem 1rem 0.5rem 1rem;
box-shadow: 0px 0px 5px rgba($primary-color, 0.7);
}
.stork-wrapper {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.stork-input-wrapper {
display: flex;
flex-direction: row;

View File

@ -1,14 +1,12 @@
{{ define "main" }}
{{ .Content }}
<p>
<div class="stork-wrapper">
<div class="stork-wrapper">
<div class="stork-input-wrapper">
<input class="stork-input" data-stork="blog" placeholder="Search (requires JavaScript)"/>
</div>
<div class="stork-output" data-stork="blog-output"></div>
</div>
</p>
</div>
Recent posts:
<ul class="post-list">