Skip to content

Commit 44bf80f

Browse files
fix allignment on check box
1 parent fc56018 commit 44bf80f

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

ui/src/views/AutogenView.vue

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -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; min-height: 25px; margin-bottom: 3px"
37+
style="margin-left: 8px; min-height: 22px; 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; min-height: 25px; margin-bottom: 3px"
44+
style="margin-left: 8px; min-height: 22px; margin-bottom: 3px"
4545
:checked-children="$t('label.projects')"
4646
:un-checked-children="$t('label.projects')"
4747
:checked="$store.getters.listAllProjects"
@@ -1949,25 +1949,10 @@ export default {
19491949
vertical-align: text-bottom;
19501950
}
19511951
1952-
:deep(.ant-switch-handle) {
1953-
height: 14px;
1954-
left: 7px;
1955-
top: 5px;
1956-
width: 14px;
1957-
}
1958-
19591952
:deep(.ant-switch-inner) {
1960-
color: #fff;
19611953
display: block;
19621954
font-size: 14px;
1963-
margin: 0px 13px 0 25px;
1964-
transition: margin .2s;
1965-
}
1966-
1967-
:deep(element) {
1968-
min-width: 120px;
1969-
margin-left: 10px;
1970-
margin-top: -4px;
1955+
margin: 0px 14px 0px 28px;
19711956
}
19721957
19731958
:deep(.ant-alert-message) {

0 commit comments

Comments
 (0)