diff --git a/app/assets/v2/css/base.css b/app/assets/v2/css/base.css index 11ff4bb3fba..368d492d5eb 100644 --- a/app/assets/v2/css/base.css +++ b/app/assets/v2/css/base.css @@ -488,6 +488,12 @@ input[type=text].loading { -o-filter: grayscale(100%); } +#primary_form { + max-width: 500px; + margin: 0 auto; + padding: 0 4em; +} + #primary_form img { max-width: 100px; } @@ -495,13 +501,13 @@ input[type=text].loading { .bounty_nav { border-bottom: 2px solid #212529; padding-bottom: 4px; + padding: 0; + display: flex; + justify-content: space-around; } .bounty_nav li { display: inline; - margin-left: 30px; - margin-right: 30px; - margin-bottom: 5px; padding: 5px; border-top-right-radius: 5px; border-top-left-radius: 5px; @@ -1117,7 +1123,7 @@ input.is-invalid { } #gitcoinTestimonials{ - height:288px; + height:288px; width:500px; } @@ -1245,7 +1251,7 @@ input.is-invalid { } @media (max-width: 769px) { #gitcoinTestimonials{ - height:202px; + height:202px; width:350px; } @@ -1366,10 +1372,17 @@ input.is-invalid { display: none; } } + +@media (max-width: 540px) { + #primary_form { + max-width: 100%; + } +} + @media (max-width: 481px) { #gitcoinTestimonials{ - height:144px; + height:144px; width:250px; } .tldr_container img { diff --git a/app/assets/v2/css/forms/form.css b/app/assets/v2/css/forms/form.css index d8bab5cfb54..13d79bf7571 100644 --- a/app/assets/v2/css/forms/form.css +++ b/app/assets/v2/css/forms/form.css @@ -36,3 +36,14 @@ .form__footer--right { text-align: right; } + +@media (max-width: 540px) { + .form__group { + flex-direction: column; + } + + .form__group-item { + margin-bottom: 1em; + width: 100%; + } +} diff --git a/app/dashboard/templates/shared/bounty_nav.html b/app/dashboard/templates/shared/bounty_nav.html index 091e3c1319a..9eaa1c459cb 100644 --- a/app/dashboard/templates/shared/bounty_nav.html +++ b/app/dashboard/templates/shared/bounty_nav.html @@ -1,54 +1,54 @@ {% comment %} - Copyright (C) 2017 Gitcoin Core + Copyright (C) 2017 Gitcoin Core - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . {% endcomment %} -
-
    -
  1. - 1. - {% if past_tense %} - Open - {%else%} - Create Work - {%endif%} -
  2. -
  3. - 2. - {% if past_tense %} - Work Started - {%else%} - Start Work - {%endif%} -
  4. -
  5. - 3. - {% if past_tense %} - Work Submitted - {%else%} - Submit Work - {%endif%} -
  6. -
  7. - 4. - {% if past_tense %} - Work Done - {%else%} - Accept Work - {%endif%} -
  8. -
-
+
+
    +
  1. + 1. + {% if past_tense %} + Open + {%else%} + Create Work + {%endif%} +
  2. +
  3. + 2. + {% if past_tense %} + Work Started + {%else%} + Start Work + {%endif%} +
  4. +
  5. + 3. + {% if past_tense %} + Work Submitted + {%else%} + Submit Work + {%endif%} +
  6. +
  7. + 4. + {% if past_tense %} + Work Done + {%else%} + Accept Work + {%endif%} +
  8. +
+
diff --git a/app/dashboard/templates/submit_bounty.html b/app/dashboard/templates/submit_bounty.html index 6f9ce3be94b..f6690f90525 100644 --- a/app/dashboard/templates/submit_bounty.html +++ b/app/dashboard/templates/submit_bounty.html @@ -29,6 +29,7 @@
{% include 'shared/nav.html' %}
+
@@ -36,8 +37,8 @@ {% include 'shared/no_metamask_error.html' %} {% include 'shared/zero_balance_error.html' %} {% include 'shared/unlock_metamask.html' %} -
-
+
+
{% include 'shared/bounty_nav.html' with active_item=1 %}
@@ -95,7 +96,7 @@

Fund an Issue

-
+