|
20 | 20 | <a-affix :offsetTop="78"> |
21 | 21 | <a-card class="breadcrumb-card" style="z-index: 10"> |
22 | 22 | <a-row> |
23 | | - <a-col :span="device === 'mobile' ? 24 : 12" style="padding-left: 12px"> |
| 23 | + <a-col :span="device === 'mobile' ? 24 : 12" style="padding-left: 12px; margin-top: 10px"> |
24 | 24 | <breadcrumb :resource="resource"> |
25 | 25 | <template #end> |
26 | 26 | <a-button |
|
34 | 34 | </a-button> |
35 | 35 | <a-switch |
36 | 36 | v-if="!dataView && ['vm', 'volume', 'zone', 'cluster', 'host', 'storagepool', 'managementserver'].includes($route.name)" |
37 | | - style="margin-left: 8px" |
| 37 | + style="margin-left: 8px; margin-bottom: 3px" |
38 | 38 | :checked-children="$t('label.metrics')" |
39 | 39 | :un-checked-children="$t('label.metrics')" |
40 | 40 | :checked="$store.getters.metrics" |
41 | 41 | @change="(checked, event) => { $store.dispatch('SetMetrics', checked) }"/> |
42 | 42 | <a-switch |
43 | 43 | v-if="!projectView && hasProjectId" |
44 | | - style="margin-left: 8px" |
| 44 | + style="margin-left: 8px; margin-bottom: 3px" |
45 | 45 | :checked-children="$t('label.projects')" |
46 | 46 | :un-checked-children="$t('label.projects')" |
47 | 47 | :checked="$store.getters.listAllProjects" |
|
59 | 59 | ? 'allocated' : ['guestnetwork', 'guestvlans'].includes($route.name) |
60 | 60 | ? 'all' : ['volume'].includes($route.name) |
61 | 61 | ? 'user' : 'self')" |
62 | | - style="min-width: 120px; margin-left: 10px" |
| 62 | + style="min-width: 120px; margin-left: 10px; margin-top: -4px" |
63 | 63 | @change="changeFilter" |
64 | 64 | showSearch |
65 | 65 | optionFilterProp="label" |
|
87 | 87 | </a-col> |
88 | 88 | <a-col |
89 | 89 | :span="device === 'mobile' ? 24 : 12" |
90 | | - :style="device === 'mobile' ? { float: 'right', 'margin-top': '12px', 'margin-bottom': '-6px', display: 'table' } : { float: 'right', display: 'table', 'margin-bottom': '-6px' }" > |
| 90 | + :style="device === 'mobile' ? { float: 'right', 'margin-top': '12px', 'margin-bottom': '-6px', display: 'table' } : { float: 'right', display: 'table', 'margin-bottom': '-4px' }" > |
91 | 91 | <slot name="action" v-if="dataView && $route.path.startsWith('/publicip')"></slot> |
92 | 92 | <action-button |
93 | 93 | v-else |
|
102 | 102 | <search-view |
103 | 103 | v-if="!dataView" |
104 | 104 | :searchFilters="searchFilters" |
| 105 | + style="min-width: 120px; margin-left: 10px; margin-top: 5px" |
105 | 106 | :searchParams="searchParams" |
106 | 107 | :apiName="apiName" |
107 | 108 | @search="onSearch" |
|
0 commit comments