fix : 按钮放在右上角浮动

This commit is contained in:
2024-10-24 10:28:53 +08:00
parent 344a3a03b3
commit 5c4f25dc1a
3 changed files with 21 additions and 4 deletions

View File

@@ -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;