Correct element layout in app.js
parent
96fc91afa1
commit
a93584641c
14
src/App.js
14
src/App.js
|
@ -250,12 +250,6 @@ function App() {
|
||||||
Freely available programming books
|
Freely available programming books
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div>
|
|
||||||
<SearchBar changeParameter={changeParameter} />
|
|
||||||
<LangDropdown changeParameter={changeParameter} data={data} />
|
|
||||||
</div>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<p class="view">
|
<p class="view">
|
||||||
<a href="https://github.com/EbookFoundation/free-programming-books" target="_blank" rel="noreferrer">
|
<a href="https://github.com/EbookFoundation/free-programming-books" target="_blank" rel="noreferrer">
|
||||||
View the Project on GitHub <small>EbookFoundation/free-programming-books</small>
|
View the Project on GitHub <small>EbookFoundation/free-programming-books</small>
|
||||||
|
@ -268,10 +262,13 @@ function App() {
|
||||||
Report an error on GitHub
|
Report an error on GitHub
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<SearchBar changeParameter={changeParameter} />
|
||||||
|
<LangDropdown changeParameter={changeParameter} data={data} />
|
||||||
<SectDropdown className="sect-drop" changeParameter={changeParameter} data={data} value={searchParams['section'] || "allSects"}/>
|
<SectDropdown className="sect-drop" changeParameter={changeParameter} data={data} value={searchParams['section'] || "allSects"}/>
|
||||||
<div className="search-results section-results">{sectionResultsList}</div>
|
<div className="search-results section-results">{sectionResultsList}</div>
|
||||||
<h2>Top Results</h2>
|
</div>
|
||||||
<div className="search-results">{resultsList}</div>
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section className="search-results">
|
<section className="search-results">
|
||||||
|
@ -302,7 +299,6 @@ function App() {
|
||||||
</small>
|
</small>
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
)}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue