diff --git a/src/dotnet/APIView/APIViewWeb/Client/css/pages/review.scss b/src/dotnet/APIView/APIViewWeb/Client/css/pages/review.scss index e710988fa3b..af616f12ac6 100644 --- a/src/dotnet/APIView/APIViewWeb/Client/css/pages/review.scss +++ b/src/dotnet/APIView/APIViewWeb/Client/css/pages/review.scss @@ -73,4 +73,16 @@ &.gutter-horizontal { cursor: col-resize; } +} + +.option-approved > label, .option-pending > label { + font-size: small; +} + +.option-approved > label::after { + content: ""; + font-family: "FontAwesome"; + margin-left: 10px; + color: var(--success-color); + font-size: medium; } \ No newline at end of file diff --git a/src/dotnet/APIView/APIViewWeb/Client/css/shared/bootstraps-overrides.scss b/src/dotnet/APIView/APIViewWeb/Client/css/shared/bootstraps-overrides.scss index 242a3580454..edeed269413 100644 --- a/src/dotnet/APIView/APIViewWeb/Client/css/shared/bootstraps-overrides.scss +++ b/src/dotnet/APIView/APIViewWeb/Client/css/shared/bootstraps-overrides.scss @@ -172,6 +172,15 @@ select { border: 1px solid var(--border-color); } +.dropdown-header { + color: var(--base-text-color); +} + +.dropdown-item:hover, .dropdown-item:focus { + color: var(--base-text-color); + background-color: var(--base-bg-color); +} + .table { color: var(--base-text-color); } diff --git a/src/dotnet/APIView/APIViewWeb/Client/css/shared/comments.scss b/src/dotnet/APIView/APIViewWeb/Client/css/shared/comments.scss index 2c81f7c6d6e..16ab2cfcdc5 100644 --- a/src/dotnet/APIView/APIViewWeb/Client/css/shared/comments.scss +++ b/src/dotnet/APIView/APIViewWeb/Client/css/shared/comments.scss @@ -36,7 +36,7 @@ .comment-contents { margin-bottom: 3px; overflow-wrap: anywhere; - overflow-x: auto; + display: inline-grid; } .comment-contents .fw-bold { diff --git a/src/dotnet/APIView/APIViewWeb/Models/ReviewRevisionModel.cs b/src/dotnet/APIView/APIViewWeb/Models/ReviewRevisionModel.cs index c1bad78b98c..e0ac490e13f 100644 --- a/src/dotnet/APIView/APIViewWeb/Models/ReviewRevisionModel.cs +++ b/src/dotnet/APIView/APIViewWeb/Models/ReviewRevisionModel.cs @@ -44,17 +44,6 @@ public string Author set => _author = value; } - [JsonIgnore] - public string DisplayNameShort - { - get - { - return Label != null ? - $"rev {RevisionNumber} - {Label}" : - $"rev {RevisionNumber}"; - } - } - [JsonIgnore] public string DisplayName { @@ -72,7 +61,9 @@ public string DisplayName // the feature to allow for editing revision names cleaner. name = Name; } - return $"{DisplayNameShort} - {name}"; + return Label != null ? + $"rev {RevisionNumber} - {Label} - {name}" : + $"rev {RevisionNumber} - {name}"; } } diff --git a/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml b/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml index 79425fdd69c..7df02541739 100644 --- a/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml +++ b/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml @@ -18,7 +18,7 @@
-