Skip to content

Commit

Permalink
fix: 修复 vue3-memory-leak 项目中引入 vue 文件报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
boyongjiong committed Jun 4, 2024
1 parent a67306d commit e7b048b
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions examples/next-app/src/app/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
.viewport {
position: relative;
height: 80vh;
overflow: hidden;
}

.graph-container *:focus {
outline: none;
}

.graph-container .rect {
width: 50px;
height: 50px;
background: #fff;
border: 2px solid #000;
}

.graph-container .circle {
width: 50px;
height: 50px;
background: #fff;
border: 2px solid #000;
border-radius: 50%;
}

.graph-container .uml-wrapper {
box-sizing: border-box;
width: 100%;
height: 100%;
background: rgb(255 242 204);
border: 1px solid rgb(214 182 86);
border-radius: 10px;
}

.graph-container .uml-head {
font-weight: bold;
font-size: 16px;
line-height: 30px;
text-align: center;
}

.graph-container .uml-body {
padding: 5px 10px;
font-size: 12px;
border-top: 1px solid rgb(214 182 86);
border-bottom: 1px solid rgb(214 182 86);
}

.graph-container .uml-footer {
padding: 5px 10px;
font-size: 14px;
}

/* 输入框字体大小和设置的大小保持一致,自动换行输入和展示保持一致 */

.graph-container .lf-text-input {
font-size: 12px;
}

.graph-container .buttons {
position: absolute;
z-index: 1;
}

.graph-container .button-list {
display: flex;
align-items: center;
}

0 comments on commit e7b048b

Please sign in to comment.