mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-13 17:24:44 +08:00
fix: 修复黑色主题部分样式 (#2780)
#### What this PR does / why we need it? #### Summary of your change #### Please indicate you've done the following: - [ ] Made sure tests are passing and test coverage is added if needed. - [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/). - [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.
This commit is contained in:
parent
51cbd7bf9c
commit
67371dff06
@ -9,7 +9,8 @@
|
||||
v-show="!searchableStatus"
|
||||
tabindex="0"
|
||||
@click="searchableStatus = true"
|
||||
class="address-bar bg-white shadow-md rounded-md px-4 py-2 flex items-center flex-grow"
|
||||
:class="globalStore.$state.themeConfig.theme === 'light' && 'bg-white'"
|
||||
class="address-bar shadow-md rounded-md px-4 py-2 flex items-center flex-grow"
|
||||
>
|
||||
<div ref="pathRef" class="w-full">
|
||||
<span ref="breadCrumbRef" class="w-full flex items-center">
|
||||
@ -19,7 +20,7 @@
|
||||
</el-link>
|
||||
</span>
|
||||
<span v-for="path in paths" :key="path.url" class="inline-flex items-center">
|
||||
<span class="mr-2">></span>
|
||||
<span class="mr-2 arrow">></span>
|
||||
<el-link class="path-segment cursor-pointer mr-2 pathname" @click.stop="jump(path.url)">
|
||||
{{ path.name }}
|
||||
</el-link>
|
||||
@ -32,7 +33,7 @@
|
||||
v-show="searchableStatus"
|
||||
v-model="searchablePath"
|
||||
@blur="searchableInputBlur"
|
||||
class="px-4 py-2 bg-white border rounded-md shadow-md"
|
||||
class="px-4 py-2 border rounded-md shadow-md"
|
||||
@keyup.enter="
|
||||
jump(searchablePath);
|
||||
searchableStatus = false;
|
||||
@ -924,4 +925,10 @@ onMounted(() => {
|
||||
max-height: 650px;
|
||||
overflow: auto;
|
||||
}
|
||||
.address-bar {
|
||||
border: var(--el-border);
|
||||
.arrow {
|
||||
color: #726e6e;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user