aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Priyansh <[email protected]>2020-08-31 00:53:11 +0530
committerKumar Priyansh <[email protected]>2020-08-31 00:53:11 +0530
commite99a01c645b8faf88bc92bf63a0aec88a7d5b2d3 (patch)
tree693a170b76a9807e57e4173ce387484f2a4ccc28
parent2f4741f0170eacc4048fcaf0f4c7ff7951a799ab (diff)
downloaddictionary-e99a01c645b8faf88bc92bf63a0aec88a7d5b2d3.tar.xz
dictionary-e99a01c645b8faf88bc92bf63a0aec88a7d5b2d3.zip
added result container
-rw-r--r--app/css/style.css6
-rw-r--r--app/index.html1
2 files changed, 7 insertions, 0 deletions
diff --git a/app/css/style.css b/app/css/style.css
index 29ad841..f8c53d9 100644
--- a/app/css/style.css
+++ b/app/css/style.css
@@ -41,3 +41,9 @@ body {
text-transform: uppercase;
padding-left: 5px;
}
+
+.results {
+ margin-top: 50px;
+ height: 50%;
+ overflow-y: scroll;
+}
diff --git a/app/index.html b/app/index.html
index 9d90dd7..8d2f105 100644
--- a/app/index.html
+++ b/app/index.html
@@ -13,6 +13,7 @@
<input type="text" class="search" placeholder="Search for words..." id="searchBox">
<p class="small">press enter to search</p>
</div>
+ <div class="results" id="results"></div>
</div>
<script src="scripts/search.js"></script>
</body>