From 5c8766fda7ad3815071a57cb2464589400e8d4e0 Mon Sep 17 00:00:00 2001 From: Ryu Yu Date: Tue, 1 Dec 2020 16:42:03 -0800 Subject: [PATCH] Enable scrollbar on cert table only. --- src/Bootstrap/dist/css/bootstrap-theme.css | 3 + src/Bootstrap/less/theme/base.less | 4 ++ .../Views/Shared/_AccountCertificates.cshtml | 57 ++++++++++--------- 3 files changed, 36 insertions(+), 28 deletions(-) diff --git a/src/Bootstrap/dist/css/bootstrap-theme.css b/src/Bootstrap/dist/css/bootstrap-theme.css index 7df0f881da..1b075e164a 100644 --- a/src/Bootstrap/dist/css/bootstrap-theme.css +++ b/src/Bootstrap/dist/css/bootstrap-theme.css @@ -245,6 +245,9 @@ img.reserved-indicator-icon { margin-left: auto; margin-right: auto; } +.table-container { + overflow-x: auto; +} .package-list { margin-top: 8px; margin-bottom: 8px; diff --git a/src/Bootstrap/less/theme/base.less b/src/Bootstrap/less/theme/base.less index 2aff1fb248..87dcca743d 100644 --- a/src/Bootstrap/less/theme/base.less +++ b/src/Bootstrap/less/theme/base.less @@ -320,6 +320,10 @@ img.reserved-indicator-icon { margin-right: auto; } +.table-container { + overflow-x: auto; +} + .package-list { margin-top: 8px; margin-bottom: 8px; diff --git a/src/NuGetGallery/Views/Shared/_AccountCertificates.cshtml b/src/NuGetGallery/Views/Shared/_AccountCertificates.cshtml index 0253a2f183..fb219f3ed3 100644 --- a/src/NuGetGallery/Views/Shared/_AccountCertificates.cshtml +++ b/src/NuGetGallery/Views/Shared/_AccountCertificates.cshtml @@ -78,37 +78,38 @@
- - - - - - - - - - - - - - - + + + + +
Fingerprint (SHA-256)SubjectExpirationIssuer
+ + + + + + + + + + + + + + + - - - - -
Fingerprint (SHA-256)SubjectExpirationIssuer
- - - - - - -
- +
+ + + + + +
+

The SHA-256 fingerprint can be found by calculating the SHA-256 hash of the DER encoded certificate file (.cer). The fingerprint should be hex-encoded. This can be done with a variety