소스 검색

标签垂直居中对齐

zq 2 달 전
부모
커밋
9304113b01
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/views/book/courseware/preview/components/label/LabelPreview.vue

+ 2 - 0
src/views/book/courseware/preview/components/label/LabelPreview.vue

@@ -43,6 +43,8 @@ export default {
     gap: 8px;
 
     :deep .el-tag {
+      display: flex;
+      align-items: center;
       height: auto;
       padding: 0 10px;
       color: var(--color1);