A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
chore(navbar): some style adjust
haitao(lj)e3b03b67e3bc
diff --git a/ui/.gitignore b/ui/.gitignoreindex c4796f76..f53a01b2 100644--- a/ui/.gitignore+++ b/ui/.gitignore@@ -9,7 +9,7 @@/coverage# production-/build+/build/# misc.DS_Storediff --git a/ui/build/index.html b/ui/build/index.htmldeleted file mode 100644index 23291f0b..00000000--- a/ui/build/index.html+++ /dev/null@@ -1 +0,0 @@-<!doctype html><html><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/></head><body>answer<div id="root"></div></body></html>diff --git a/ui/build/static/README.md b/ui/build/static/README.mddeleted file mode 100644index e69de29b..00000000diff --git a/ui/src/components/Header/index.scss b/ui/src/components/Header/index.scssindex c32e4a72..cd325475 100644--- a/ui/src/components/Header/index.scss+++ b/ui/src/components/Header/index.scss@@ -1,4 +1,8 @@+@import '~bootstrap/scss/bootstrap-utilities';#header {+ background: linear-gradient(180deg, #0033FF 0%, rgba(0, 51, 255, 0.95) 100%);+ --bs-navbar-padding-y: 0.75rem;+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15), $box-shadow-sm;.logo {height: 28px;width: auto;@@ -15,7 +19,14 @@height: 38px;}}- .placeholder-search::placeholder {- color: rgba(255, 255, 255, 0.75);+ .placeholder-search {+ background-color: rgba(255, 255, 255, .2);+ border: 0;+ &:focus {+ border: $border-width $border-style $border-color;+ }+ &::placeholder {+ color: rgba(255, 255, 255, 0.75);+ }}}diff --git a/ui/src/components/Header/index.tsx b/ui/src/components/Header/index.tsxindex b4342815..2cfffe69 100644--- a/ui/src/components/Header/index.tsx+++ b/ui/src/components/Header/index.tsx@@ -46,12 +46,7 @@ const Header: FC = () => {}}, [q]);return (- <Navbar- bg="primary"- variant="dark"- expand="lg"- className="shadow-sm sticky-top"- id="header">+ <Navbar variant="dark" expand="lg" className="sticky-top" id="header"><Container className="d-flex align-items-center"><Navbar.Brand href="/">{interfaceInfo.logo ? (@@ -84,7 +79,7 @@ const Header: FC = () => {<Form action="/search" className="w-75 px-2"><FormControlplaceholder={t('header.search.placeholder')}- className="bg-transparent text-white placeholder-search"+ className="text-white placeholder-search"value={searchStr}name="q"onChange={(e) => handleInput(e.target.value)}