News title css fixes

This commit is contained in:
mrfry 2021-05-07 12:44:17 +02:00
parent b8c5b5a818
commit 03c25a4a82
3 changed files with 16 additions and 2 deletions

View file

@ -11,7 +11,7 @@ export default function Composer({ onSubmit }) {
return ( return (
<> <>
<center> <div className={'buttonContainer'}>
<div <div
onClick={() => { onClick={() => {
setEditorShowing(true) setEditorShowing(true)
@ -20,7 +20,7 @@ export default function Composer({ onSubmit }) {
> >
Bejegyzés írása... Bejegyzés írása...
</div> </div>
</center> </div>
{editorShowing && ( {editorShowing && (
<Modal <Modal
closeClick={() => { closeClick={() => {

View file

@ -5,6 +5,12 @@
text-align: justify; text-align: justify;
} }
@media screen and (max-width: 700px) {
.newsTitle {
text-align: center;
}
}
.newsTitle { .newsTitle {
font-size: 25px; font-size: 25px;
color: var(--text-color); color: var(--text-color);
@ -80,3 +86,10 @@
margin-top: 16px; margin-top: 16px;
padding: 10px; padding: 10px;
} }
@media screen and (max-width: 700px) {
.newsRoot {
margin: 5px 0px;
padding: 2px;
}
}

View file

@ -124,6 +124,7 @@ input:focus {
} }
div.content { div.content {
padding: 0px;
margin-left: 0; margin-left: 0;
} }
} }