Fakultas Ilmu Komputer UI

Commit fbd4d610 authored by Jonathan Chandra's avatar Jonathan Chandra
Browse files

edit pagination item per page and edit Post.css

parent 6ec04c47
......@@ -36,6 +36,7 @@ export default function ListThreads(props) {
const handleSubmit = async (event) => {
event.preventDefault();
try {
console.log(body);
const thisThread = await axios.post(
`${API_URL}/threads`,
{
......
......@@ -15,7 +15,7 @@ export default function Pagination(props) {
<div>
<PaginationComponent
activePage={activePage}
itemsCountPerPage={25}
itemsCountPerPage={15}
totalItemsCount={props.totalItems}
pageRangeDisplayed={5}
onChange={handlePageChange}
......
......@@ -62,6 +62,7 @@
#postContent #isi {
font-size: 16px;
white-space: pre-line;
}
.inactive {
......@@ -157,8 +158,4 @@ button:focus {
}
}
#isi {
white-space: pre-line;
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment