mirror of
https://github.com/Yanyutin753/ChatGPT-Next-Web-LangChain-Gpt-4-All.git
synced 2025-10-18 09:04:05 +00:00
fix: sidebar search :focus border on Safari
* chore: add placeholder on sidebar search * chore: modify input:focus border-color to adapting to global theme
This commit is contained in:
@@ -65,12 +65,11 @@
|
||||
.sidebar-search-bar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 15px;
|
||||
|
||||
.sidebar-search-bar-input {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin-bottom: 5px;
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
@@ -90,12 +89,17 @@
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
input {
|
||||
.search-input {
|
||||
text-align: left;
|
||||
max-width: 100%;
|
||||
width: inherit;
|
||||
padding-left: 35px;
|
||||
padding-right: 35px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.search-input:focus {
|
||||
border: 1px solid var(--primary);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user