|
20 | 20 | <a-affix :offsetTop="this.$store.getters.shutdownTriggered ? 103 : 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" |
|
54 | 54 | v-if="!dataView && filters && filters.length > 0" |
55 | 55 | :placeholder="$t('label.filterby')" |
56 | 56 | :value="filterValue" |
57 | | - style="min-width: 120px; margin-left: 10px" |
| 57 | + style="min-width: 120px; margin-left: 10px; margin-top: -4px" |
58 | 58 | @change="changeFilter" |
59 | 59 | showSearch |
60 | 60 | optionFilterProp="label" |
|
82 | 82 | </a-col> |
83 | 83 | <a-col |
84 | 84 | :span="device === 'mobile' ? 24 : 12" |
85 | | - :style="device === 'mobile' ? { float: 'right', 'margin-top': '12px', 'margin-bottom': '-6px', display: 'table' } : { float: 'right', display: 'table', 'margin-bottom': '-6px' }" > |
| 85 | + :style="device === 'mobile' ? { float: 'right', 'margin-top': '12px', 'margin-bottom': '-6px', display: 'table' } : { float: 'right', display: 'table', 'margin-bottom': '-4px' }" > |
86 | 86 | <slot name="action" v-if="dataView && $route.path.startsWith('/publicip')"></slot> |
87 | 87 | <action-button |
88 | 88 | v-else |
|
97 | 97 | <search-view |
98 | 98 | v-if="!dataView" |
99 | 99 | :searchFilters="searchFilters" |
| 100 | + style="min-width: 120px; margin-left: 10px; margin-top: 5px" |
100 | 101 | :searchParams="searchParams" |
101 | 102 | :apiName="apiName" |
102 | 103 | @search="onSearch" |
|
0 commit comments