This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch jira/solr-15556-antora
in repository https://gitbox.apache.org/repos/asf/solr.git

commit 2977319bb49fc81be11ee5e3c9eba28401e1cc6b
Author: Houston Putman <[email protected]>
AuthorDate: Thu Feb 3 16:47:56 2022 -0500

    Fix header css for brand title
---
 solr/solr-ref-guide/ui-src/css/header.css | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/solr/solr-ref-guide/ui-src/css/header.css 
b/solr/solr-ref-guide/ui-src/css/header.css
index 66172ba..c524316 100644
--- a/solr/solr-ref-guide/ui-src/css/header.css
+++ b/solr/solr-ref-guide/ui-src/css/header.css
@@ -44,6 +44,22 @@ body {
   word-wrap: normal;
 }
 
+/* Solr Addition - Start */
+/* The brand name is the second child because the logo is the first */
+.navbar-brand .navbar-item:nth-child(2) {
+  align-self: center;
+  color: var(--navbar-font-color);
+  font-size: calc(22 / var(--rem-base) * 1rem);
+  flex-wrap: wrap;
+  line-height: 1;
+}
+
+.navbar-brand .navbar-item:nth-child(2) a {
+  color: inherit;
+  word-wrap: normal;
+}
+/* Solr Addition - End */
+
 .navbar-brand .navbar-item:first-child :not(:last-child) {
   padding-right: 0.375rem;
 }

Reply via email to