add comment for homepage mobile logic

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2022-11-20 16:39:51 -08:00
parent ccbf060c8c
commit 9e82dae202

View File

@ -25,8 +25,13 @@
</div>
</header>
<body>
<div style="display: flex; max-height: 100%;">
<!--
For mobile: + flex-direction: column-reverse;"
~ width: 100% for all divs
-->
<div style="display: flex; max-height: 100%; ">
<div style="width: 20%;"></div>
<div style="width: 60%;">
@ -40,7 +45,7 @@
</div>
<div style="width: 20%;">
<form id="form" style="display: none;">
<form id="form" style="">
<input type='search' id="seaching" name="searchBar" placeholder="Search journal...">
<button class="click" type="search">
Search
@ -48,6 +53,7 @@
<div class="Filter-box"></div>
</form>
</div>
</div>
</body>
</main>