forked from AkkomaGang/admin-fe
Fix styles for settings header and add search in mobile version
This commit is contained in:
parent
02f2f0e1f3
commit
5f9789bd24
3 changed files with 27 additions and 35 deletions
|
@ -197,9 +197,6 @@ h1 {
|
||||||
.router-link {
|
.router-link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.search-container {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
.pagination {
|
.pagination {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<reboot-button/>
|
<reboot-button/>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="isDesktop">
|
<div v-if="isDesktop">
|
||||||
<div :class="isSidebarOpen" class="settings-header-container">
|
<div :class="isSidebarOpen">
|
||||||
<h1 class="settings-header">{{ $t('settings.settings') }}</h1>
|
<h1 class="settings-header">{{ $t('settings.settings') }}</h1>
|
||||||
<div class="docs-search-container">
|
<div class="docs-search-container">
|
||||||
<el-link
|
<el-link
|
||||||
|
@ -34,8 +34,6 @@
|
||||||
<div v-if="isMobile || isTablet">
|
<div v-if="isMobile || isTablet">
|
||||||
<div :class="isSidebarOpen" class="settings-header-container">
|
<div :class="isSidebarOpen" class="settings-header-container">
|
||||||
<h1 class="settings-header">{{ $t('settings.settings') }}</h1>
|
<h1 class="settings-header">{{ $t('settings.settings') }}</h1>
|
||||||
</div>
|
|
||||||
<div class="nav-container">
|
|
||||||
<el-link
|
<el-link
|
||||||
:underline="false"
|
:underline="false"
|
||||||
href="https://docs-develop.pleroma.social/backend/administration/CLI_tasks/config/"
|
href="https://docs-develop.pleroma.social/backend/administration/CLI_tasks/config/"
|
||||||
|
@ -48,7 +46,17 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-link>
|
</el-link>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="settings-search-input-container"/> -->
|
<div class="settings-search-container">
|
||||||
|
<el-autocomplete
|
||||||
|
v-model="searchQuery"
|
||||||
|
:fetch-suggestions="querySearch"
|
||||||
|
:trigger-on-focus="false"
|
||||||
|
clearable
|
||||||
|
placeholder="Search"
|
||||||
|
prefix-icon="el-icon-search"
|
||||||
|
class="settings-search-input"
|
||||||
|
@select="handleSearchSelect"/>
|
||||||
|
</div>
|
||||||
<component :is="componentName"/>
|
<component :is="componentName"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
height: 2px;
|
height: 2px;
|
||||||
}
|
}
|
||||||
.docs-search-container {
|
.docs-search-container {
|
||||||
float: right;
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
}
|
}
|
||||||
.editable-keyword-container {
|
.editable-keyword-container {
|
||||||
|
@ -307,9 +308,6 @@
|
||||||
.header-sidebar-closed {
|
.header-sidebar-closed {
|
||||||
max-width: 1728px;
|
max-width: 1728px;
|
||||||
}
|
}
|
||||||
.settings-header-container {
|
|
||||||
height: 87px;
|
|
||||||
}
|
|
||||||
.settings-search-input {
|
.settings-search-input {
|
||||||
width: 350px;
|
width: 350px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
|
@ -488,13 +486,6 @@
|
||||||
.limit-input {
|
.limit-input {
|
||||||
width: 45%;
|
width: 45%;
|
||||||
}
|
}
|
||||||
.nav-container {
|
|
||||||
display: flex;
|
|
||||||
height: 36px;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
margin: 15px;
|
|
||||||
}
|
|
||||||
.proxy-url-input {
|
.proxy-url-input {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
@ -540,15 +531,9 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 10px 15px 15px 15px;
|
margin: 10px 15px 15px 15px;
|
||||||
}
|
}
|
||||||
.docs-search-container {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
.settings-search-input {
|
.settings-search-input {
|
||||||
width: 100%;
|
margin: 0 15px 25px 15px;
|
||||||
margin-left: 0;
|
width: stretch;
|
||||||
}
|
|
||||||
.settings-search-input-container {
|
|
||||||
margin: 0 15px 15px 15px;
|
|
||||||
}
|
}
|
||||||
.socks5-checkbox-container {
|
.socks5-checkbox-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -638,7 +623,9 @@
|
||||||
margin-right: 5px
|
margin-right: 5px
|
||||||
}
|
}
|
||||||
.settings-header-container {
|
.settings-header-container {
|
||||||
height: 45px;
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
.value-input {
|
.value-input {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
|
@ -677,13 +664,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
.nav-container {
|
|
||||||
display: flex;
|
|
||||||
height: 36px;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
margin: 15px 30px 15px 15px;
|
|
||||||
}
|
|
||||||
.rate-limit-content {
|
.rate-limit-content {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
}
|
}
|
||||||
|
@ -694,7 +674,14 @@
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
.settings-header-container {
|
.settings-header-container {
|
||||||
height: 36px;
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
.settings-search-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
.settings-search-input {
|
.settings-search-input {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
|
|
Loading…
Reference in a new issue