#3679 Add some padding to roadmap, userprofile, & userdash pages
Merged 2 years ago by pingou. Opened 2 years ago by ryanlerch.
ryanlerch/pagure footerspace  into  master

@@ -387,6 +387,5 @@ 

        });

      </script>

    </div>

- </div>

  {% endmacro%}

  

@@ -27,7 +27,7 @@ 

  </h3>

  

  <div class="row mt-4">

-     <div class="col">

+     <div class="col pb-5">

          <div class="list-group">

              <div class="list-group-item bg-light">

                  <div class="row">

@@ -14,11 +14,11 @@ 

  

  {% block userdash %}

  <div class="pt-4">

-   <div class="container">

+   <div class="container pb-5">

      <div class="row">

        <div class="col">

          <div class="d-flex align-items-center mb-3">

-           <h4 class="font-weight-bold mb-0">My {{projectstring(plural=True)}}</h4>

+           <h4 class="font-weight-bold mb-0">My Activity</h4>

            <span class="btn btn-outline-secondary disabled opacity-100 border-0 ml-auto font-weight-bold">{{ userdash_counts['repos_length'] }} {{projectstring(plural=True)}}</span>

          </div>

        </div>

@@ -10,7 +10,7 @@ 

  

  {% block userdash %}

  <div class="pt-4">

-   <div class="container">

+   <div class="container pb-5">

      <div class="row">

          <div class="col">

            <div class="d-flex align-items-center mb-3">

@@ -11,7 +11,7 @@ 

  

  {% block userdash %}

  <div class="pt-4">

-   <div class="container">

+   <div class="container pb-5">

      <div class="row">

        <div class="col">

          <div class="d-flex align-items-center mb-3">

@@ -14,7 +14,7 @@ 

  <div class="container">

    <div class="row">

      <div class="col userdash-tabs">

-       <ul class="nav nav-tabs nav-sidetabs flex-column">

+       <ul class="nav nav-tabs nav-sidetabs flex-column border-bottom-0">

          <li class="pl-3 pb-3 font-weight-bold">

              {{ g.fas_user.username | avatar(20) | safe }} {{g.fas_user.username}}

          </li>

@@ -11,7 +11,7 @@ 

  

  {% block userdash %}

  <div class="pt-4">

-   <div class="container">

+   <div class="container pb-5">

      <div class="row">

        <div class="col">

          <div class="d-flex align-items-center mb-3">

@@ -11,7 +11,7 @@ 

  

  {% block userdash %}

  <div class="pt-4">

-   <div class="container">

+   <div class="container pb-5">

      <div class="row">

        <div class="col">

          <div class="d-flex align-items-center mb-3">

@@ -9,7 +9,7 @@ 

  

  

  {% block userprofile_content %}

- <div class="row mt-4">

+ <div class="row mt-4 pb-5">

      <div class="col-12">

          <div class="d-flex align-items-center mb-3">

            <h4 class="font-weight-bold mb-0">Forks</h4>

@@ -5,7 +5,7 @@ 

  {% block title %}{{user.username}} - groups{% endblock %}

  

  {% block userprofile_content %}

- <div class="row mt-4">

+ <div class="row mt-4 pb-5">

      <div class="col-12">

          <div class="d-flex align-items-center mb-3">

            <h4 class="font-weight-bold mb-0">Groups</h4>

@@ -7,7 +7,7 @@ 

  

  {% block userprofile_content %}

  <div class="pt-4">

-   <div class="container">

+   <div class="container pb-5">

      <div class="d-flex align-items-center">

      <h4 class="mb-0 font-weight-bold">

          Issues for {{ username | avatar(20) | safe }} {{ username }}

@@ -6,7 +6,7 @@ 

  {% from "_projectstring.html" import projectstring, projecticon %}

  

  {% block userprofile_content %}

- <div class="row mt-4">

+ <div class="row mt-4 pb-5">

    <div class="col-12">

        {% if owned_repos %}

        <h4><strong>Top {{projectstring(plural=True)}}</strong></h4>

@@ -8,7 +8,7 @@ 

  

  

  {% block userprofile_content %}

- <div class="row mt-4">

+ <div class="row mt-4 pb-5">

      <div class="col-12">

          <div class="d-flex align-items-center mb-3">

            <h4 class="font-weight-bold mb-0">{{projectstring(plural=True)}}</h4>

@@ -5,7 +5,7 @@ 

  {% from "_render_pullrequests.html" import render_pullrequest_row %}

  

  {% block userprofile_content %}

- <div class="pt-4">

+ <div class="pt-4 pb-5">

    <div class="container">

      <div class="d-flex align-items-center">

        <h4 class="mb-0 font-weight-bold">

@@ -6,7 +6,7 @@ 

  {% block title %}{{user.username}} - starred{% endblock %}

  

  {% block userprofile_content %}

- <div class="row mt-4">

+ <div class="row mt-4 pb-5">

      <div class="col-12">

          <div class="d-flex align-items-center mb-3">

            <h4 class="font-weight-bold mb-0">Starred {{ projectstring(plural=True) }}</h4>

Adds padding to the bottom of pages on the roadmap, userprofile,
and userdash pages.

Also fix the heading of the Activity page in the userdash to say
activity rather than My Projects. Also removes an extra closing
div tag in the activitygraph macro.

Fixes #3639

Looks good to me, let's rebase and merge :)

rebased onto 1370a42

2 years ago

Pull-Request has been merged by pingou

2 years ago