diff --git a/src/components/composer.js b/src/components/composer.js index b0ffa18..9432158 100644 --- a/src/components/composer.js +++ b/src/components/composer.js @@ -11,7 +11,7 @@ export default function Composer({ onSubmit }) { return ( <> -
+
{ setEditorShowing(true) @@ -20,7 +20,7 @@ export default function Composer({ onSubmit }) { > Bejegyzés írása...
-
+ {editorShowing && ( { diff --git a/src/components/newsEntry.module.css b/src/components/newsEntry.module.css index cbeff67..25f61b4 100644 --- a/src/components/newsEntry.module.css +++ b/src/components/newsEntry.module.css @@ -5,6 +5,12 @@ text-align: justify; } +@media screen and (max-width: 700px) { + .newsTitle { + text-align: center; + } +} + .newsTitle { font-size: 25px; color: var(--text-color); @@ -80,3 +86,10 @@ margin-top: 16px; padding: 10px; } + +@media screen and (max-width: 700px) { + .newsRoot { + margin: 5px 0px; + padding: 2px; + } +} diff --git a/src/defaultStyles.css b/src/defaultStyles.css index 24a0dab..f15dc86 100644 --- a/src/defaultStyles.css +++ b/src/defaultStyles.css @@ -124,6 +124,7 @@ input:focus { } div.content { + padding: 0px; margin-left: 0; } }