mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Add dark-mode support (#24)
* add dark-mode support * make improvements as suggested by riggraz * fix some dark theme styles Co-authored-by: Riccardo Graziosi <riccardo.graziosi97@gmail.com>
This commit is contained in:
@@ -156,7 +156,7 @@ class NewPost extends React.Component<Props, State> {
|
||||
{ showForm ? 'Cancel' : 'Submit feedback' }
|
||||
</Button>
|
||||
:
|
||||
<a href="/users/sign_in" className="btn btn-dark">
|
||||
<a href="/users/sign_in" className="btn">
|
||||
Log in / Sign up
|
||||
</a>
|
||||
}
|
||||
|
||||
@@ -68,10 +68,11 @@ const Comment = ({
|
||||
{ 'Post update: ' + (isPostUpdate ? 'yes' : 'no') }
|
||||
</a>
|
||||
<Separator />
|
||||
<a href={`/admin/comments/${id}/edit`} data-turbolinks="false">Edit</a>
|
||||
<a href={`/admin/comments/${id}/edit`} className="commentLink" data-turbolinks="false">Edit</a>
|
||||
<Separator />
|
||||
<a
|
||||
href={`/admin/comments/${id}`}
|
||||
className="commentLink"
|
||||
data-method="delete"
|
||||
data-confirm="Are you sure?"
|
||||
data-turbolinks="false">Delete</a>
|
||||
|
||||
Reference in New Issue
Block a user