Skip to content

Commit f893e7d

Browse files
UI allignments
1 parent d6b1fb7 commit f893e7d

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

ui/src/views/AutogenView.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<a-affix :offsetTop="78">
2121
<a-card class="breadcrumb-card" style="z-index: 10">
2222
<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">
2424
<breadcrumb :resource="resource">
2525
<template #end>
2626
<a-button
@@ -34,14 +34,14 @@
3434
</a-button>
3535
<a-switch
3636
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"
3838
:checked-children="$t('label.metrics')"
3939
:un-checked-children="$t('label.metrics')"
4040
:checked="$store.getters.metrics"
4141
@change="(checked, event) => { $store.dispatch('SetMetrics', checked) }"/>
4242
<a-switch
4343
v-if="!projectView && hasProjectId"
44-
style="margin-left: 8px"
44+
style="margin-left: 8px; margin-bottom: 3px"
4545
:checked-children="$t('label.projects')"
4646
:un-checked-children="$t('label.projects')"
4747
:checked="$store.getters.listAllProjects"
@@ -59,7 +59,7 @@
5959
? 'allocated' : ['guestnetwork', 'guestvlans'].includes($route.name)
6060
? 'all' : ['volume'].includes($route.name)
6161
? 'user' : 'self')"
62-
style="min-width: 120px; margin-left: 10px"
62+
style="min-width: 120px; margin-left: 10px; margin-top: -4px"
6363
@change="changeFilter"
6464
showSearch
6565
optionFilterProp="label"
@@ -87,7 +87,7 @@
8787
</a-col>
8888
<a-col
8989
: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' }" >
9191
<slot name="action" v-if="dataView && $route.path.startsWith('/publicip')"></slot>
9292
<action-button
9393
v-else
@@ -102,6 +102,7 @@
102102
<search-view
103103
v-if="!dataView"
104104
:searchFilters="searchFilters"
105+
style="min-width: 120px; margin-left: 10px; margin-top: 5px"
105106
:searchParams="searchParams"
106107
:apiName="apiName"
107108
@search="onSearch"

0 commit comments

Comments
 (0)