Browse Source

修改概况页面--学院名称--屏幕缩小后--超出后的仍然和换行的问题

plg 3 months ago
parent
commit
38fab7a3e2
1 changed files with 8 additions and 7 deletions
  1. 8 7
      src/views/manage/generalSituation.vue

+ 8 - 7
src/views/manage/generalSituation.vue

@@ -960,7 +960,7 @@ export default {
             // text-decoration: underline;
             // text-decoration-color: #113a27;
             height: 80px;
-            flex: 1;
+            // flex: 1;
             margin-right: 100px;
             // flex: 1;
             // background-color: #0d3bb1;
@@ -970,17 +970,12 @@ export default {
             letter-spacing: 3px;
             font-size: 34px;
             font-family: Electronic;
-            // flex:1,;
-            // width: 200px;
-            // width: 100%;
 
-            // word-wrap: break-word;
             overflow: hidden;
             text-overflow: ellipsis;
             display: -webkit-box;
-
+               /* autoprefixer: ignore next */
             -webkit-box-orient: vertical;
-
             -webkit-line-clamp: 2;
 
             // word-wrap: break-word;
@@ -995,6 +990,12 @@ export default {
             text-align: right;
             margin-bottom: 16px;
             margin-right: 20px;
+            flex: 1;
+            display: flex;
+            justify-content: flex-end;
+            align-items: end;
+            padding-bottom: 12px;
+            
             // color: #ffffff;
             // font-size: 60px;
             // letter-spacing: 3px;