From 5f145889a7a9fba6c6286c798f98dd373de6a4e3 Mon Sep 17 00:00:00 2001 From: ha77an Date: Tue, 9 Jun 2020 18:10:57 +0300 Subject: [PATCH] edited tasks style --- .../pages/application/Tasks/index.css | 16 +++++- .../pages/application/Tasks/index.js | 55 ++++++++++--------- 2 files changed, 42 insertions(+), 29 deletions(-) diff --git a/client/src/components/pages/application/Tasks/index.css b/client/src/components/pages/application/Tasks/index.css index 212d811..4b6e8b2 100644 --- a/client/src/components/pages/application/Tasks/index.css +++ b/client/src/components/pages/application/Tasks/index.css @@ -31,6 +31,11 @@ .Task_container_page h6{ font-size: 1.5rem; } +.Task_container_page input { + height: 0.3rem; + background-color: rgb(255, 255, 255); + width: 30rem; +} @media only screen and (max-width: 1150px) { @@ -104,10 +109,15 @@ background-color: rgba(245, 245, 245, 0.699); display: flex; flex-direction: column; - width: 30rem; + width: 23rem; z-index: 1; - margin-left: 10rem; - padding-right: 10%; + margin-left: 0; + padding-right: 0%; margin-top: 2rem; } + .Task_container_page input { + height: 0.3rem; + background-color: rgb(255, 255, 255); + width: 20rem; + } } \ No newline at end of file diff --git a/client/src/components/pages/application/Tasks/index.js b/client/src/components/pages/application/Tasks/index.js index 104b71c..18b9747 100644 --- a/client/src/components/pages/application/Tasks/index.js +++ b/client/src/components/pages/application/Tasks/index.js @@ -116,33 +116,36 @@ const Tasks = ({ userId, userData }) => { ))} -
-
- GitHub - Project link -
- { - setTechnicalTasksLinks(e.target.value); - setMessage(''); - }} - isError={ - message.includes('Enter Your GitHub Project link') || - message.includes('Error in Github project link') - } - message={ - message.includes('Error in Github project link') && - technicalTasksLinks.trim() !== '' - ? 'Error in Github project link' - : '' - } - placeholder="ex: https://github.com/{yourGithubProfile}/{yourProjectName}" - /> +
+ GitHub + Project link
-
- + { + setTechnicalTasksLinks(e.target.value); + setMessage(''); + }} + isError={ + message.includes('Enter Your GitHub Project link') || + message.includes('Error in Github project link') + } + message={ + message.includes('Error in Github project link') && + technicalTasksLinks.trim() !== '' + ? 'Error in Github project link' + : '' + } + placeholder="ex: https://github.com/{yourGithubProfile}/{yourProjectName}" + /> +
+