Skip to content

Commit 5393150

Browse files
robertmuehsigChristy Henriksson
authored andcommitted
Fix #6725 (#6731)
Set column number from 10 to 12 and reenable this setting on uploadpackage/account/apikeys (constants were deleted in a previous commit)
1 parent 14b204c commit 5393150

4 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/NuGetGallery/GalleryConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static class GalleryConstants
1717
public const int ColumnsAuthenticationMd = 4;
1818
public const int ColumnsWideAuthenticationSm = 8;
1919
public const int ColumnsWideAuthenticationMd = 6;
20-
public const int ColumnsFormMd = 10;
20+
public const int ColumnsFormMd = 12;
2121

2222
public const int VisibleVersions = 5;
2323

src/NuGetGallery/Views/Packages/UploadPackage.cshtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@{
33
ViewBag.Title = "Upload Package";
44
ViewBag.Tab = "Upload";
5+
ViewBag.MdPageColumns = GalleryConstants.ColumnsFormMd;
56
var placeholder = Model.IsSymbolsUploadEnabled
67
? "Browse or Drop files to select a package (.nupkg) or symbols package (.snupkg)..."
78
: "Browse or Drop files to select a package (.nupkg)";

src/NuGetGallery/Views/Users/Account.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@model UserAccountViewModel
22
@{
33
ViewBag.Title = "Account Settings";
4-
4+
ViewBag.MdPageColumns = GalleryConstants.ColumnsFormMd;
55
TempData["Parent"] = this;
66
}
77

src/NuGetGallery/Views/Users/ApiKeys.cshtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@using NuGetGallery.Authentication
33
@{
44
ViewBag.Title = "API Keys";
5+
ViewBag.MdPageColumns = GalleryConstants.ColumnsFormMd;
56
}
67

78
<section role="main" class="container main-container page-api-keys">

0 commit comments

Comments
 (0)