Fakultas Ilmu Komputer UI

Commit 360023e9 authored by Jonathan's avatar Jonathan
Browse files

Merge branch 'jonathan' into 'master'

edit pagination item per page and edit Post.css

See merge request !41
parents 6ec04c47 fbd4d610
......@@ -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