From 2dcfdab6a1ef683270e6b8c392a40a0a4d638490 Mon Sep 17 00:00:00 2001 From: Advay Tandon Date: Tue, 8 Nov 2022 15:54:32 -0800 Subject: [PATCH 1/3] initial commit --- src/Bootstrap/dist/css/bootstrap.css | 4 ++++ src/Bootstrap/less/list-group.less | 5 +++++ src/NuGetGallery/Views/Shared/ListPackages.cshtml | 4 ++-- src/NuGetGallery/Views/Shared/_ListPackage.cshtml | 4 ++-- src/NuGetGallery/Views/Users/Profiles.cshtml | 4 ++-- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/Bootstrap/dist/css/bootstrap.css b/src/Bootstrap/dist/css/bootstrap.css index 2253cea0c9..628ba042b0 100644 --- a/src/Bootstrap/dist/css/bootstrap.css +++ b/src/Bootstrap/dist/css/bootstrap.css @@ -4723,6 +4723,10 @@ button.list-group-item-danger.active:focus { margin-bottom: 0; line-height: 1.3; } +ul.list-packages { + list-style-type: none; + padding-left: 0; +} .panel { margin-bottom: 22px; background-color: #fff; diff --git a/src/Bootstrap/less/list-group.less b/src/Bootstrap/less/list-group.less index f913629cce..d29c86f270 100644 --- a/src/Bootstrap/less/list-group.less +++ b/src/Bootstrap/less/list-group.less @@ -128,3 +128,8 @@ button.list-group-item { margin-bottom: 0; line-height: 1.3; } + +ul.list-packages { + list-style-type: none; + padding-left: 0; +} \ No newline at end of file diff --git a/src/NuGetGallery/Views/Shared/ListPackages.cshtml b/src/NuGetGallery/Views/Shared/ListPackages.cshtml index 8c21553c31..76934e6168 100644 --- a/src/NuGetGallery/Views/Shared/ListPackages.cshtml +++ b/src/NuGetGallery/Views/Shared/ListPackages.cshtml @@ -151,7 +151,7 @@ } -
+
+
diff --git a/src/NuGetGallery/Views/Shared/_ListPackage.cshtml b/src/NuGetGallery/Views/Shared/_ListPackage.cshtml index 4de386b1c5..161a683049 100644 --- a/src/NuGetGallery/Views/Shared/_ListPackage.cshtml +++ b/src/NuGetGallery/Views/Shared/_ListPackage.cshtml @@ -26,7 +26,7 @@ } } -
+
  • - + diff --git a/src/NuGetGallery/Views/Users/Profiles.cshtml b/src/NuGetGallery/Views/Users/Profiles.cshtml index 52d1cb77b3..46be672ad2 100644 --- a/src/NuGetGallery/Views/Users/Profiles.cshtml +++ b/src/NuGetGallery/Views/Users/Profiles.cshtml @@ -97,12 +97,12 @@
    -
    +
      @foreach (var package in Model.PagedPackages) { @Html.Partial("_ListPackage", package) } -
    + @ViewHelpers.PreviousNextPager(Model.Pager) From eb51cf0655810a0f8d13c514429008090bb03990 Mon Sep 17 00:00:00 2001 From: Advay Tandon Date: Wed, 9 Nov 2022 13:18:06 -0800 Subject: [PATCH 2/3] removed 'alert' role from Search heading --- src/NuGetGallery/Views/Shared/ListPackages.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NuGetGallery/Views/Shared/ListPackages.cshtml b/src/NuGetGallery/Views/Shared/ListPackages.cshtml index 76934e6168..94df3198ed 100644 --- a/src/NuGetGallery/Views/Shared/ListPackages.cshtml +++ b/src/NuGetGallery/Views/Shared/ListPackages.cshtml @@ -41,7 +41,7 @@
    -

    +

    @if (String.IsNullOrEmpty(Model.SearchTerm)) { if (Model.TotalCount == 1) From 9e4b8bb7392c41d33fd6f78e44ebd6ac8c00144e Mon Sep 17 00:00:00 2001 From: Advay Tandon Date: Wed, 9 Nov 2022 15:25:22 -0800 Subject: [PATCH 3/3] removed header role too, unneccessary for h1 elements --- src/NuGetGallery/Views/Shared/ListPackages.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NuGetGallery/Views/Shared/ListPackages.cshtml b/src/NuGetGallery/Views/Shared/ListPackages.cshtml index 94df3198ed..5814a27c44 100644 --- a/src/NuGetGallery/Views/Shared/ListPackages.cshtml +++ b/src/NuGetGallery/Views/Shared/ListPackages.cshtml @@ -41,7 +41,7 @@
    -

    +

    @if (String.IsNullOrEmpty(Model.SearchTerm)) { if (Model.TotalCount == 1)