Browse Source

优化前台验证提示位置

Karson 2 years ago
parent
commit
42fdea065a
1 changed files with 21 additions and 0 deletions
  1. 21 0
      public/assets/less/frontend.less

+ 21 - 0
public/assets/less/frontend.less

@@ -475,6 +475,27 @@ form.form-horizontal .control-label {
         padding: 15px;
         min-height: 300px;
     }
+
+    .n-bootstrap {
+        .n-right {
+            margin-top: 0;
+            top: -20px;
+            position: absolute;
+            left: 0;
+            text-align: right;
+            width: 100%;
+
+            .msg-wrap {
+                position: relative;
+            }
+        }
+
+        .col-xs-12 > .n-right {
+            .msg-wrap {
+                margin-right: 15px;
+            }
+        }
+    }
 }
 
 .nav-pills > li {