Skip to content

Commit 975728c

Browse files
committed
changed top bar tool paddings
1 parent 5b1e138 commit 975728c

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

vue/src/views/main-components/changelanguage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div style="display:inline-block;">
2+
<div style="display:inline-block;" class="topbar-menu-item">
33
<Row type="flex" justify="start" align="middle">
44
<i :class="currentLanguage.icon" style="margin-right:5px"></i>
55
<Dropdown trigger="click" @on-click="setLanguage">

vue/src/views/main-components/fullscreen.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div @click="handleChange" v-if="showFullScreenBtn" class="full-screen-btn-con">
2+
<div @click="handleChange" v-if="showFullScreenBtn" class="full-screen-btn-con topbar-menu-item">
33
<Tooltip :content="value ? 'Exit full screen' : 'Full screen'" placement="bottom">
44
<Icon :type="value ? 'arrow-shrink' : 'arrow-expand'" :size="23"></Icon>
55
</Tooltip>

vue/src/views/main-components/lockscreen/lockscreen.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div @click="lockScreen" class="lock-screen-btn-con">
2+
<div @click="lockScreen" class="lock-screen-btn-con topbar-menu-item">
33
<Tooltip content="Lock screen" placement="bottom">
44
<Icon type="locked" :size="20"></Icon>
55
</Tooltip>

vue/src/views/main-components/theme-switch/theme-switch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div style="display:inline-block;padding:0 6px;">
2+
<div style="display:inline-block;padding:0 6px;" class="topbar-menu-item">
33
<Dropdown trigger="click" @on-click="setTheme">
44
<a href="javascript:void(0)">
55
<Icon :style="{marginTop: '-2px', verticalAlign: 'middle'}" color="#495060" :size="18" type="paintbucket"></Icon>

vue/src/views/main.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,14 @@
117117
padding: 10px;
118118
overflow: hidden;
119119
}
120+
120121
.header-avator-con{
121122
position: absolute;
122123
right: 0;
123124
top: 0;
124125
height: 100%;
125126
width: 340px;
127+
126128
.switch-theme-con{
127129
display: inline-block;
128130
width: 40px;
@@ -230,4 +232,9 @@
230232
height: 39px;
231233
}
232234
}
235+
}
236+
237+
.topbar-menu-item {
238+
display: inline-block;
239+
padding: 22px 5px;
233240
}

0 commit comments

Comments
 (0)