style: add styles in style block

This commit is contained in:
Shivam Mishra 2020-06-22 16:56:09 +05:30
parent 3bbbd1b606
commit 42fd2312b8

View File

@ -9,7 +9,7 @@
<p class="hero-subtitle">{{ greeting_subtitle }}</p>
{% endif %}
</div>
<div class="search-container mt-4" style="max-width: 500px;">
<div class="search-container">
<div class="website-search" id="search-container">
<div class="dropdown">
<div class="search-icon">
@ -81,7 +81,6 @@
</div>
</section>
{% endif %}
{% endblock %}
{%- block script -%}
@ -91,3 +90,12 @@
});
</script>
{%- endblock -%}
{%- block style -%}
<style>
.search-container {
margin-top: 1.2rem;
max-width: 500px;
}
</style>
{%- endblock -%}