mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Refactor CSS (#116)
Refactor CSS files and structure. Also refactors some html and React components for a smarter use of CSS classes.
This commit is contained in:
committed by
GitHub
parent
35c427d9f6
commit
8e75a85873
@@ -4,6 +4,7 @@ import NewPost from './NewPost';
|
||||
import SearchFilter from './SearchFilter';
|
||||
import PostStatusFilter from './PostStatusFilter';
|
||||
import PostList from './PostList';
|
||||
import Sidebar from '../common/Sidebar';
|
||||
|
||||
import IBoard from '../../interfaces/IBoard';
|
||||
|
||||
@@ -74,7 +75,7 @@ class BoardP extends React.Component<Props> {
|
||||
|
||||
return (
|
||||
<div className="boardContainer">
|
||||
<div className="sidebar">
|
||||
<Sidebar>
|
||||
<NewPost
|
||||
board={board}
|
||||
isLoggedIn={isLoggedIn}
|
||||
@@ -92,7 +93,7 @@ class BoardP extends React.Component<Props> {
|
||||
currentFilter={filters.postStatusId}
|
||||
handleFilterClick={handlePostStatusFilterChange}
|
||||
/>
|
||||
</div>
|
||||
</Sidebar>
|
||||
|
||||
<PostList
|
||||
posts={posts.items}
|
||||
|
||||
Reference in New Issue
Block a user