Browse Source

update chat style

luke 6 years ago
parent
commit
a29da13050
2 changed files with 7 additions and 3 deletions
  1. 2 1
      chat/src/components/index.vue
  2. 5 2
      chat/src/css/index.css

+ 2 - 1
chat/src/components/index.vue

@@ -2030,8 +2030,9 @@
 		width: 100%;
 	}
 
-	.rightAlignment {
+	.row .rightAlignment {
 		text-align: right;
+		display: -webkit-box !important;
 	}
 
 	/*

+ 5 - 2
chat/src/css/index.css

@@ -16,10 +16,13 @@ p,img,h1,h2,h3,h4,h5,ul,li,ol,li,dl,dt,dd,body{
 /* 平行 */
 .row,
 .column {
-  display: -webkit-box;
+  display: flex;
   flex-direction: row;
 }
-
+.row .rightAlignment {
+  text-align: right;
+  display: -webkit-box !important;
+}
 /* 垂直 */
 .column {
   flex-direction: column;