File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed
layouts/components/NavigationBar Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -86,10 +86,6 @@ function handleHistory() {
8686</template >
8787
8888<style lang="scss" scoped>
89- .notify {
90- margin-right : 10px ;
91- }
92-
9389.notify-history {
9490 text-align : center ;
9591 padding-top : 12px ;
Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ function logout() {
4646 <Screenfull v-if =" showScreenfull" class =" right-menu-item" />
4747 <ThemeSwitch v-if =" showThemeSwitch" class =" right-menu-item" />
4848 <Notify v-if =" showNotify" class =" right-menu-item" />
49- <el-dropdown class = " right-menu-item " >
50- <div class =" right-menu-avatar " >
49+ <el-dropdown >
50+ <div class =" right-menu-item user " >
5151 <el-avatar :icon =" UserFilled" :size =" 30" />
5252 <span >{{ userStore.username }}</span >
5353 </div >
@@ -110,18 +110,21 @@ function logout() {
110110 height : 100% ;
111111 display : flex ;
112112 align-items : center ;
113- .right-menu -item {
114- padding : 0 10px ;
113+ & -item {
114+ margin : 0 10px ;
115115 cursor : pointer ;
116- .right-menu-avatar {
117- display : flex ;
118- align-items : center ;
119- .el-avatar {
120- margin-right : 10px ;
121- }
122- span {
123- font-size : 16px ;
124- }
116+ & :last-child {
117+ margin-left : 20px ;
118+ }
119+ }
120+ .user {
121+ display : flex ;
122+ align-items : center ;
123+ .el-avatar {
124+ margin-right : 10px ;
125+ }
126+ span {
127+ font-size : 16px ;
125128 }
126129 }
127130 }
You can’t perform that action at this time.
0 commit comments