Skip to content

Commit f22fecb

Browse files
UI allignments
1 parent 09994ed commit f22fecb

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="this.$store.getters.shutdownTriggered ? 103 : 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"
@@ -54,7 +54,7 @@
5454
v-if="!dataView && filters && filters.length > 0"
5555
:placeholder="$t('label.filterby')"
5656
:value="filterValue"
57-
style="min-width: 120px; margin-left: 10px"
57+
style="min-width: 120px; margin-left: 10px; margin-top: -4px"
5858
@change="changeFilter"
5959
showSearch
6060
optionFilterProp="label"
@@ -82,7 +82,7 @@
8282
</a-col>
8383
<a-col
8484
: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' }" >
8686
<slot name="action" v-if="dataView && $route.path.startsWith('/publicip')"></slot>
8787
<action-button
8888
v-else
@@ -97,6 +97,7 @@
9797
<search-view
9898
v-if="!dataView"
9999
:searchFilters="searchFilters"
100+
style="min-width: 120px; margin-left: 10px; margin-top: 5px"
100101
:searchParams="searchParams"
101102
:apiName="apiName"
102103
@search="onSearch"

0 commit comments

Comments
 (0)