mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 20:36:43 +08:00
调整计数样式
This commit is contained in:
@@ -313,12 +313,16 @@ export default {
|
|||||||
.tag-count {
|
.tag-count {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
top: 30%;
|
top: 47%;
|
||||||
transform: translateY(-40%);
|
transform: translateY(-40%);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #999;
|
color: #999;
|
||||||
background: white;
|
background: white;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
/* 添加高度限制 */
|
||||||
|
height: 25px;
|
||||||
|
line-height: 25px; /* 垂直居中文字 */
|
||||||
|
box-sizing: border-box; /* 确保padding包含在height内 */
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user