+ @if (DocsWebOptions.Value.UseGoogleTranslation)
+ {
+
+ }
@if (Model.ShowProjectsCombobox && Model.ProjectSelectItems.Count > 1)
{
@@ -341,7 +372,7 @@
var rowCount = count / maxCellCount + (count % maxCellCount > 0 ? 1 : 0);
var cellSize = 12 / (count > maxCellCount ? maxCellCount : count);
var latestCellSize = 12 / count - (rowCount - 1) * maxCellCount;
-
+
string BuildParameterDivClass(int index)
{
var row = index / maxCellCount;
@@ -349,7 +380,7 @@
var currentCellSize = isLastRow ? latestCellSize : cellSize;
return $"col-12 col-lg-{currentCellSize} mb-lg-{(isLastRow ? "0" : "2")} {(index == count - 1 ? "" : "mb-2")}";
}
-
+
for (var i = 0; i < count; ++i)
{
var parameter = Model.DocumentPreferences.Parameters[i];
@@ -391,11 +422,11 @@
}
@Html.Raw(Model.Document.Content)
-
+
@if (Model.DocumentNavigationsDto.HasValues)
{
-
+
@if (Model.DocumentNavigationsDto.HasPrevious)
diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.css b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.css
index 15900d28f9..d5a4f2b6b8 100644
--- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.css
+++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.css
@@ -20,4 +20,37 @@
color: #0B1621;
}
+body {
+ top: 0px !important;
+}
+
+.skiptranslate iframe {
+ display: none !important;
+}
+
+.google_translate_text {
+ color: #aaa;
+ font-family: var(--bs-body-font-family);
+ font-size: 10pt;
+ margin-left: 2px;
+ font-weight: 500;
+}
+
+.goog-te-gadget {
+ white-space: break-spaces !important;
+}
+
+.goog-te-combo {
+ width: 100%;
+ height: auto;
+ padding: 0.75rem 2.25rem 0.75rem 0.75rem !important;
+ border-radius: 5px;
+ background-color: #1e2227 !important;
+ border: 0;
+ min-height: 30px;
+ font-size: 1.17em;
+ background-color: transparent;
+ color: rgba(255, 255, 255, 0.7);
+}
+
/*# sourceMappingURL=Index.css.map */