Browse Source

v2.0.2

修复Bar的文字对齐
Weilanwl 6 years ago
parent
commit
7d7b7357b6
3 changed files with 26 additions and 2 deletions
  1. 1 1
      demo/colorui.wxss
  2. 24 0
      readme.html
  3. 1 1
      template/colorui.wxss

+ 1 - 1
demo/colorui.wxss

@@ -2083,7 +2083,7 @@ bar .action {
   display: flex;
   align-items: center;
   height: 100%;
-  justify-content: flex-start;
+  justify-content: center;
   max-width: 100%;
 }
 

+ 24 - 0
readme.html

@@ -0,0 +1,24 @@
+<!doctype html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>无标题文档</title>
+<link rel="stylesheet" href="https://github.githubassets.com/assets/github-b43e758c845fa54305d34a4b97d30922.css">
+<link rel="stylesheet" href="https://github.githubassets.com/assets/frameworks-08fc49d3bd2694c870ea23d0906f3610.css">
+<style>
+html {
+	background: #333;
+}
+body {
+	width: 900px;
+	padding: 30px;
+	margin: 30px auto;
+	background-color: #fff;
+}
+</style>
+</head>
+
+<body class="markdown-body">
+	<img src="https://image.weilanwl.com/colorui/githubHead.png" alt="">
+</body>
+</html>

+ 1 - 1
template/colorui.wxss

@@ -2083,7 +2083,7 @@ bar .action {
   display: flex;
   align-items: center;
   height: 100%;
-  justify-content: flex-start;
+  justify-content: center;
   max-width: 100%;
 }