diff --git a/public/components/EventCreateForm/EventCreateForm.css b/public/components/EventCreateForm/EventCreateForm.css index dcc42c2..80c49e5 100644 --- a/public/components/EventCreateForm/EventCreateForm.css +++ b/public/components/EventCreateForm/EventCreateForm.css @@ -1,7 +1,6 @@ .event-create-form { display: flex; flex-direction: column; - align-items: flex-start; max-width: 500px; margin: 50px auto; padding: 20px; diff --git a/public/components/EventCreateForm/EventCreateForm.js b/public/components/EventCreateForm/EventCreateForm.js index 865bd0f..69bb933 100644 --- a/public/components/EventCreateForm/EventCreateForm.js +++ b/public/components/EventCreateForm/EventCreateForm.js @@ -130,7 +130,7 @@ export class EventCreateForm { text, className, type, - needPlaceholder: tag === 'input', + needPlaceholder: tag === 'input' || tag === 'textarea', needMaxMinTime: type === 'time' })); diff --git a/public/components/Login/Login.css b/public/components/Login/Login.css index d44dfb7..9ea1333 100644 --- a/public/components/Login/Login.css +++ b/public/components/Login/Login.css @@ -2,7 +2,6 @@ form { display: flex; place-content: center; flex-direction: column; - align-items: center; max-width: 500px; min-height: 300px; margin: 50px auto;