fix : 按钮放在右上角浮动
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<div class="link-box">
|
||||
<el-scrollbar noresize>
|
||||
<div>
|
||||
<el-scrollbar noresize height="31" >
|
||||
<!-- style="display: flex"-->
|
||||
<div >
|
||||
<router-link
|
||||
v-for="item in tagsViewStore.visitedViews"
|
||||
:key="item.path" :to="{ path: item.path, query: item.query }" class="tag"
|
||||
@@ -74,11 +75,17 @@ init()
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.link-box {
|
||||
//display: flex;
|
||||
position: relative;
|
||||
padding: 12px 0;
|
||||
line-height: 30px;
|
||||
|
||||
.tag {
|
||||
//flex-shrink: 0;
|
||||
//display: flex;
|
||||
//align-items: center;
|
||||
//justify-content: center;
|
||||
//height: 30px;
|
||||
padding: 6px;
|
||||
border: 1px solid darkgray;
|
||||
font-size: 13px;
|
||||
|
||||
Reference in New Issue
Block a user